The evidence a gate predicate decides over. The Foundry-coupled SohlTour fills exactly one field before each evaluation:

  • value for a value gate (the current value of the watched control), and
  • state for a state gate (a caller-defined snapshot of document/DOM state).
interface TourGateContext {
    state?: unknown;
    value?: unknown;
}

Properties

Properties

state?: unknown

For a state gate: a snapshot of the document/DOM state to inspect.

value?: unknown

For a value gate: the current value of the watched control.