@jakguru/vueprint / @jakguru/vueprint/services/bus
Module: @jakguru/vueprint/services/bus
Classes
Interfaces
- BackgroundFetchClickEvent
- BackgroundFetchEvent
- BackgroundFetchFailEvent
- BackgroundFetchMatchOptions
- BackgroundFetchSettledFetch
- BackgroundFetchSuccessEvent
- BusEventCallbackSignatures
- BusEventListenOptions
- CanMakePaymentEvent
- ContentDeleteEvent
- Cookie
- CookieChangeEvent
- PaymentRequestEvent
- PeriodicSyncEvent
- PushSubscriptionChangeEvent
- SyncEvent
Type Aliases
BusEvent
Ƭ BusEvent: keyof BusEventCallbackSignatures
The events that can be emitted and listened to
Defined in
BusEventAlreadyTriggered
Ƭ BusEventAlreadyTriggered: { [key in keyof BusEventCallbackSignatures]: Parameters<BusEventCallback<key>> }
The events that have already been triggered
Defined in
BusEventCallback
Ƭ BusEventCallback<T
>: BusEventCallbackSignatures
[T
]
The callback signatures for the events
Type parameters
Name | Type |
---|---|
T | extends keyof BusEventCallbackSignatures |
Defined in
BusEventEmitOptions
Ƭ BusEventEmitOptions: Omit
<BusEventListenOptions
, "immediate"
>
Options for listening to events
Defined in
Functions
shortid
▸ shortid(): string
Generate a likely unique short ID for identifying tabs
Returns
string
A short ID