mounted
Invoked after the component was mounted.
Example
import { Component } from "combo-js";
const Example = new class extends Component {
mounted() {
console.log("The component was mounted.")
}
}();
Example.mount(document.getElementById("root"));
Notes
Used to define event handlers since it is called only once.
Last updated