src/ui/toolbar/smart-toolbar-registry.service.ts
Properties |
Methods |
|
Public deregisterToolbar | ||||||
deregisterToolbar(name: string)
|
||||||
Deregisters the toolbar registered under the given name and allows another toolbar to use that name.
Parameters :
Returns :
void
|
Public getToolbar | ||||||
getToolbar(name: string)
|
||||||
Returns the toolbar registered under the given name, if it exists and has been previously registered.
Parameters :
Returns :
any
|
Public getToolbarAsObservable | ||||||||
getToolbarAsObservable(name: string)
|
||||||||
Returns an observable that fires once when the requested Smart Toolbar instance is available
Parameters :
Returns :
Observable<any>
|
Public registerToolbar |
registerToolbar(name: string, toolbar: any)
|
Registers a Toolbar Component under the given name. Throws an error if a toolbar has already been registered under that name.
Returns :
void
|
toolbarRegistered |
Type : EventEmitter<SmartToolbarRegistryEventArgs>
|
Default value : new EventEmitter()
|
Fires when a Toolbar Component is registered. |