HighlightsComponent
HighlightsComponent API
- HighlightsComponent.getHighlights
- Returns
- Highlight[]
HighlightsComponent.getHighlights(): Highlight[]
Returns the highlights from the highlightsModel
- HighlightsComponent.setHighlights
- Parameters
- highlights: Highlight[]
- - An array of Highlight objects to be set as the highlights of the model.
- Returns
- void
HighlightsComponent.setHighlights(highlights: Highlight[]): void
Sets the highlights of the highlights model.
- HighlightsComponent.setHighlightsVisible
- Parameters
- visible: boolean
- - A boolean value indicating whether the highlights should be visible or not. Default value is true.
- Returns
- void
HighlightsComponent.setHighlightsVisible(visible: boolean): void
Sets the visibility of the highlights component.
- HighlightsComponent.observeHighlightsUpdated
- Returns
- Observable<Highlight[]>
HighlightsComponent.observeHighlightsUpdated(): Observable<Highlight[]>
Returns an observable that emits when the highlights are updated.