PluginEvent
Index
Constructors
constructor
Initializes PluginEvent.
Parameters
copyProps: {} = {}
Event data to copy.
passthruProps: {} = {}
Event data to pass through.
extraEventData: any = ...
Extra event data attached to
extra
.
Returns default
Properties
data
Provides the unified event data assigning any pass through data to the copied data supplied.
eventbus
The active EventProxy for that particular plugin.
extra
Stores any extra event data added to all PluginEvents.
ignoreKeys
list of keys to ignore
pluginName
The active plugin name.
pluginOptions
The active plugin options.
projectReport
TODO: i don’t know where this is set, but it is used in excomplex-project/plugins
settings
settings for the plugin instance
syntaxes
All loaded trait syntaxes for AST nodes
Provides the data / event passed to all invoked methods in invokeSyncEvent. The
event.data
field is returned to the caller. Before returning though additional the following additional metadata is attached:(number)
$$plugin_invoke_count
- The count of plugins invoked.(Array
$$plugin_invoke_names
- The names of plugins invoked.