0.0.6 • Published 4 years ago

notification-dispatch v0.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

notification-dispatch

send notification dispatch to angular and listen for events

Install

npm install notification-dispatch
npx cap sync

API

send(...)

send(options: OpenMapOptions) => any
ParamType
optionsOpenMapOptions

Returns: any


addListener(...)

addListener(eventName: string, listenerFunc: ListenerCallback) => Promise<PluginListenerHandle> & PluginListenerHandle
ParamType
eventNamestring
listenerFunc(err: any, ...args: {}) => void

Returns: any


Interfaces

OpenMapOptions

PropType
eventNameany
dataany

PluginListenerHandle

PropType
remove() => any