Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "types"

Custom types used in the library

Index

Type aliases

CourierEvent

CourierEvent: { detail: any; sendResponse: SendResponseType }

Type declaration

CourierEventHandlerType

CourierEventHandlerType: (e: CourierEvent) => void

Type declaration

EventStorageType

EventStorageType: {}

Type declaration

EventTargetType

EventTargetType: HTMLElement | Document | Window & { courierEventDataStore?: EventStorageType }

HandlerCollection

HandlerCollection: {}

Type declaration

HandlerType

HandlerType: (detail: any, sendResponse?: SendResponseType) => void

Type declaration

SendResponseType

SendResponseType: (data?: any) => void

Type declaration

    • (data?: any): void
    • Parameters

      • Optional data: any

      Returns void

UnsubscribeFunc

UnsubscribeFunc: () => void

Type declaration

    • (): void
    • Returns void

UnsubscribeFuncCollection

UnsubscribeFuncCollection: {}

Type declaration

Generated using TypeDoc