EventsComponent

August 17, 2023 ยท View on GitHub

MethodParametersReturnsDescription
setEventsevents: EconomicEvent[]voidSets the new event list.
setVisiblevisible: booleanvoidChanges the component visibility.
setEventTypeVisibleeventsVisibility: Partial<Record<EventType, boolean>>voidChanges visibility for the specific event type. For example, to turn off dividends visibility you can call this method with { dividends: false } argument
observeEventHoveredObservable<EventWithId>Observes hovered event when mouse moves in, and provides null when mouse moves out.