updated

Invoked after the component was updated.

Parameters

  • prev : object - The previous data.

Example

import { Component } from "combo-js";

const Example = new class extends Component {  
    created() {
        this.update({});
    } 
    updated() {
        console.log("The component was updated.")
    }
}();

Example.mount(document.getElementById("root"));

Last updated