Invoked after the component is rendered.
import { Component } from "combo-js"; const Example = new class extends Component { rendered() { console.log("The component was rendered.") } }(); Example.mount(document.getElementById("root"));
<div id="root"></div>
Used to mount child components.
Last updated 6 years ago