@coveo/headless
    Preparing search index...

    Interface ExecuteTrigger

    The ExecuteTrigger controller handles Execute triggers from the query response. An Execute trigger query pipeline rule lets you define a custom JavaScript function to be executed in the frontend when a certain condition is met.

    Examples:

    interface ExecuteTrigger {
        state: ExecuteTriggerState;
        subscribe(listener: () => void): Unsubscribe;
    }

    Hierarchy (View Summary)

    Index

    Methods

    Properties

    Methods

    Properties

    The state of the ExecuteTrigger controller.