# mount

### Parameters

* **el** : object The element.
* **props** : object(={}) The props.

### Example

{% tabs %}
{% tab title="JavaScript" %}

```javascript
import { Component } from "combo-js";

const Example = new class extends Component {  
    mounted() {
        console.log("The component was mounted.")
    }
}();

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

{% endtab %}

{% tab title="HTML" %}

```markup
<div id="root"></div>
```

{% endtab %}
{% endtabs %}
