Skip to main content

UI Event Bus

Usage

Events bus is created by the AppLoader and passed down as a prop to both the registration function and to the root component.

For more information please see Event Bus section.

Type Aliases

EventDataTypes

EventDataTypes: object

Type defining global event data object

Type declaration

MemberType
followIdstring
isLoggedInboolean
itemIdstring
itemTypeEntityTypes
profileIDstring
reflectIdstring
versionstring

Source

ui-events.ts:108


NotificationEvent

NotificationEvent: object

Type defining notification event object

Type declaration

MemberType
dataobject
data.dismissableboolean
data.messagestring
data.snackbarIconReact.ReactElement
data.typeNotificationTypes
eventNotificationEvents

Source

ui-events.ts:68


RoutesRegisterEvent

RoutesRegisterEvent: object

Type defining route registration event

Type declaration

MemberType
dataobject
data.menuItemsIMenuItem | IMenuItem[]
data.namestring
data.navRoutesRecord<string, string>
eventRouteRegistrationEvents

Source

ui-events.ts:18


ThemingEvent

ThemingEvent: object

Type defining theming event object

Type declaration

MemberType
dataobject
data.namestring
eventThemingEvents

Source

ui-events.ts:38


UIEventData

UIEventData: object | ContentBlockRegisterEvent | ExtensionRegisterEvent | WidgetRegisterEvent | AppRegisterEvent | RoutesRegisterEvent | AnalyticsEventData | ThemingEvent | NotificationEvent

Type defining global UI event data object

Source

ui-events.ts:123

Enumerations

EntityTypes

Enum defining entity types

Enumeration Members

Enumeration MemberValue
ARTICLE4
BEAM0
PROFILE1
REFLECT2
TAG3

EventTypes

Enum defining global event types

Enumeration Members

Enumeration MemberValue
GoBackToPreviousRoute"routing:go-back-to-previous-route"
HideSidebar"hide-sidebar"
HideWidgets"hide-widgets"
InstallIntegration"install-integration"
Instantiated"instantiated"
LayoutShowLoadingUser"layout:show-loading-user"
SetInitialCookieType"set-initial-cookie-type"
ShowSidebar"show-sidebar"
ShowWidgets"show-widgets"
UninstallIntegration"uninstall-integration"

NotificationEvents

Enum defining notification events

Enumeration Members

Enumeration MemberValue
ShowNotification"show-notification"
SnoozeNotifications"snooze-notifications"
UnsnoozeNotifications"unsnooze-notifications"

NotificationTypes

Enum defining notification types

Enumeration Members

Enumeration MemberValue
Alert"alert"
Caution"caution"
Error"error"
Info"info"
Success"success"

RouteRegistrationEvents

Enum defining events related to loading and unloading of global routes

Enumeration Members

Enumeration MemberValue
RegisterRoutes"register-routes"

ThemingEvents

Enum defining events related to theming

Enumeration Members

Enumeration MemberValue
ThemeChange"theme-change"