Mounting a Component
A component instance won't render until its .mount()
method has been called.
Arguments
Name
Type
Description
Element
DOM element or a selector string
The container element that the component will be mounted to.
Example
Last updated