Component API

Component is a global object that provides access to all of the components on a page. You can interact with it to read and write data in the browser and to hook into component events.

All components are built using the underlying API for vue.js. Calling Component('-id-'), where -id- is the id of the component, will give a handle to the Vue instance for that component.

For example, the component below renders the text Hello World!

<component text id="hello"></component>

In this case, Component('hello') gives access to the text component. This type of access is the basis for interacting with components programmatically.



ready( function )