Hierarchy

  • Latite

Properties

version: string

The Latite Client version. Example: "v2.0.0"

Methods

  • Listen to an event.

    Type Parameters

    Parameters

    • eventName: K
    • listener: ((event) => void)
        • (event): void
        • Parameters

          Returns void

    Returns void

  • Runs a Latite command.

    Parameters

    • cmd: string

      The command to run. Do not add the prefix (.)

    Returns boolean

    The success of the command.

  • Shows a Latite toast on the top of the screen.

    Parameters

    • notif: string

      The notification to show.

    Returns void

Generated using TypeDoc