isMounted
Returns a boolean value determining if the component is mounted.
Returns
boolean True if mounted.
Example
import { Component } from "combo-js";
const Example = new class extends Component {
render() {
return `
<div>Hello ${this.isMounted}</div>
`;
}
}();
Example.mount(document.getElementById("root"));
<div id="root"></div>