Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 756 Bytes

events.md

File metadata and controls

23 lines (15 loc) · 756 Bytes
layout title parent
page
Events
lua_manual

Interface

All properties and methods that are available for events are described in detail in the API reference. The event-specific interface is similar to the C++ interface, refer there for the full documentation.

Global variables

When an event is fired and captured by a Lua script, three global variables are set up in the context of the called function.

  • element The element context in which the event fired.
  • document The document in which the event fired.
  • event The event object.

See usage details in attaching to events Lua documentation.