Lens Scripting API
    Preparing search index...

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    id: number = ...

    Accessors

    • get callback(): () => void

      Returns the callback of this event.

      Returns () => void

    • get markedForRemoval(): boolean

      Internal use only.

      Returns boolean

    • get name(): string

      Returns the name of this event.

      Returns string

    Methods

    • Associates a callback function with this event. The provided function will be executed when the event is invoked.

      Parameters

      • callback: () => void

        The function to execute when this event is triggered

      Returns void

    • Internal use only.

      Parameters

      • accessToken: symbol

      Returns void

    • Executes the callback function associated with this event. Does nothing if no callback has been bound.

      Returns void

    • Internal use only.

      Parameters

      • value: boolean
      • accessToken: symbol

      Returns void

    • Internal use only.

      Parameters

      • value: string
      • accessToken: symbol

      Returns void

    • Parameters

      • name: string

      Returns void