new exports()
- Description:
Constructor.
- Source:
Constructor.
The class constructor.
The only param this method gets is a constructor with all the mandatory and optional component data. Component will receive the same descriptor as create method param.
This method will call the "create" method before registering the component into the reactive module. This way any component can add default selectors and events.
Name | Type | Description |
---|---|---|
descriptor |
descriptor | data to create the object. |
Class constructor.
Name | Type | Description |
---|---|---|
reactive |
CourseEditor | the course editor object |
Setup the core/tree keyboard navigation.
Name | Type | Description |
---|---|---|
mainElement |
Element | undefined | an alternative main element in case it is not from the parent component |
selectors |
Object | undefined | alternative selectors |
preventcache |
boolean | if the elements cache must be disabled. |