Type alias ActiveTrigger

ActiveTrigger: {
    trigger: Trigger;
    search: string;
    index: number;
}

The current active trigger

Type declaration

  • trigger: Trigger

    Current active trigger object

  • search: string

    Current search term (what's between the trigger and the cursor)

  • index: number

    Index of the active trigger character in the input