defineSmartSnippet

This is for:

Developer
In this article

Methods

build

Creates an instance of the given controller.

Parameters

  • engine: TEngine

    The search engine.

Returns TController: The controller.

Initialize

defineSmartSnippet

Defines a SmartSnippet controller instance.

Parameters

  • props: SmartSnippetProps

    The configurable SmartSnippet properties.

Returns SmartSnippetDefinition