@coveo/headless-react
    Preparing search index...

    Interface RedirectionTriggerDefinition

    interface RedirectionTriggerDefinition {
        search: true;
        build(
            engine: CommerceEngine,
            solutionType?: SolutionType,
        ): RedirectionTrigger;
    }

    Hierarchy

    • SearchOnlyControllerDefinitionWithoutProps<RedirectionTrigger>
      • RedirectionTriggerDefinition
    Index

    Methods

    Properties

    Methods

    • Creates an instance of the given controller.

      Parameters

      • engine: CommerceEngine

        The search engine.

      • OptionalsolutionType: SolutionType

        The type of solution for which the controller should be built (e.g. search or listing). This option only applies to sub-controllers.

      Returns RedirectionTrigger

      The created controller instance.

    Properties

    search: true