File

src/ui/viewer/smart-viewer-registry.service.ts

Index

Properties
Methods

Methods

deregisterSmartViewer
deregisterSmartViewer(viewer: string | SmartViewerComponent)

Deregisters a Smart Viewer from the Smart Viewer Registry

Parameters :
Name Type Optional Description
viewer string | SmartViewerComponent No

the instance name of the Smart Viewer or the instance itself

Returns : void
getSmartViewer
getSmartViewer(name: string)

Returns a ReplaySubject that resolves when the requested Smart Viewer has been registered

Parameters :
Name Type Optional Description
name string No

the instance name of the Smart Viewer

ReplaySubject

getSmartViewersByDatasource
getSmartViewersByDatasource(datasourceName: string)

Returns a ReplaySubject that resolves when all Smart Viewers attached to the specified Data Source have been registered

Parameters :
Name Type Optional Description
datasourceName string No

the instance name of the Smart Data Soure

Returns : ReplaySubject<any[]>

ReplaySubject<any[]>

registerSmartViewer
registerSmartViewer(viewer: SmartViewerComponent)

Registers a Smart Viewer with the Smart Viewer Registry

Parameters :
Name Type Optional
viewer SmartViewerComponent No
Returns : void

Properties

smartViewerAdded
Type : EventEmitter<any>
Default value : new EventEmitter<any>()
smartViewerRemoved
Type : EventEmitter<string>
Default value : new EventEmitter<string>()

result-matching ""

    No results matching ""