Use to register to various Needle Engine context events and to get access to all current instances
e.g. when being created in the DOM

Constructors

Properties

Registered: Context[] = []

All currently registered Needle Engine contexts. Do not modify

Accessors

  • get All(): Context[]
  • Returns the array of all registered Needle Engine contexts. Do not modify

    Returns Context[]

  • get Current(): Context
  • The currently active (rendering) Needle Engine context

    Returns Context

Methods

  • Parameters

    • callback: ContextCallback

    Returns void

  • Parameters

    • callback: ContextCallback

    Returns void

  • Parameters

    • evt: ContextEvent
    • callback: ContextCallback

    Returns void

  • Parameters

    • evt: ContextEvent
    • callback: ContextCallback

    Returns void

Generated using TypeDoc