el
Returns the element the component is mounted to.
Returns
object The element.
Example
import { Component } from "combo-js";
const Example = new class extends Component {
render() {
return `
<div>Hello ${this.el.dataset.name}</div>
`;
}
}();
Example.mount(document.getElementById("root"));
<div id="root"></div>