Interface RedirectionTrigger

The RedirectionTrigger controller handles redirection triggers. A Redirection trigger query pipeline rule lets you define a URL to redirect the user's browser to when a certain condition is met.

Example: redirection-trigger.fn.tsx

interface RedirectionTrigger {
    state: RedirectionTriggerState;
    subscribe(listener: (() => void)): Unsubscribe;
}

Hierarchy (view full)

Methods

Properties

Methods

Properties

the state of the RedirectionTrigger controller.