destroy( )
- Description: Destroy the component.
- Schema: _Component
component.destroy();
id( ) : string
- Description: Get the unique ID of a component.
- Schema: _Component
const id = component.id();
off( event )
- Description: Remove a listener.
- Schema: _Component
component.off('eventName');
on( event, action, useCoreAPI, isCore )
- Description: Add an event.
- Schema: _Component
component.on('eventName', () => {});
require( id ) : Component
- Description: Get a component by its unique id.
- Schema: _Component
const db = component.require('db');