EventsComponent
EventsComponent API
- EventsComponent.setEvents
- Parameters
- events: EconomicEvent[]
- Returns
- void
EventsComponent.setEvents(events: EconomicEvent[]): void
Sets the new event list.
- EventsComponent.setVisible
- Parameters
- visible: boolean
- Returns
- void
EventsComponent.setVisible(visible: boolean): void
Changes the component visibility.
- EventsComponent.setEventTypeVisible
- Parameters
- eventsVisibility: Partial<Record<EventType, boolean>>
- Returns
- void
EventsComponent.setEventTypeVisible(eventsVisibility: Partial<Record<EventType, boolean>>): void
Changes visibility for the specific event type. For example, to turn off dividends visibility you can call this method with { dividends: false } argument
- EventsComponent.observeEventHovered
- Returns
- Observable<EventWithId>
EventsComponent.observeEventHovered(): Observable<EventWithId>
Observes hovered event when mouse moves in, and provides null when mouse moves out.