Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface EventModuleExecutorArguments

Arguments for an event execution.

Hierarchy

Index

Properties

arguments

arguments: IArguments

The arguments of the underlying listener.

emitGlobal

emitGlobal: function

Emits a global event.

param

The event.

param

The arguments.

Type declaration

    • (event: string | symbol, ...args: any[]): boolean
    • Parameters

      • event: string | symbol
      • Rest ...args: any[]

      Returns boolean

globalState

globalState: Object

Gets an object that can share data between all other events.

globals

The global variables from the settings.

name

name: string

Gets the name of the underlying event.

openHtml

openHtml: function

Opens a HTML document in a new tab.

param

The HTML document (source code).

param

The custom title for the tab.

param

The custom ID for the document in the storage.

returns

The promise.

Type declaration

    • (html: string, title?: string, id?: any): Promise<any>
    • Parameters

      • html: string
      • Optional title: string
      • Optional id: any

      Returns Promise<any>

Optional options

options: any

Data / options for the execution.

remove

remove: function

Removes the underlying event.

returns

Event has been removed or not.

Type declaration

    • (): boolean
    • Returns boolean

replaceWithValues

replaceWithValues: function

Handles a value as string and replaces placeholders.

param

The value to parse.

returns

The parsed value.

Type declaration

    • (val: any): string
    • Parameters

      • val: any

      Returns string

require

require: function

Loads a module from the script context.

param

The ID / path to the module.

returns

The loaded module.

Type declaration

    • (id: string): any
    • Parameters

      • id: string

      Returns any

state

state: any

Gets or sets a state for that event.

Generated using TypeDoc