The CoreSmartSnippetQuestionsList controller allows to manage additional queries for which a SmartSnippet model can provide relevant excerpts.

interface CoreSmartSnippetQuestionsList {
    state: CoreSmartSnippetQuestionsListState;
    collapse(identifier: string): void;
    expand(identifier: string): void;
    subscribe(listener: () => void): Unsubscribe;
}

Hierarchy (View Summary, Expand)

Methods

Properties

Methods

  • Collapse the specified snippet suggestion.

    Parameters

    • identifier: string

      The questionAnswerId of the smart snippet to collapse.

    Returns void

  • Expand the specified snippet suggestion.

    Parameters

    • identifier: string

      The questionAnswerId of the smart snippet to expand.

    Returns void

  • Adds a callback that's invoked on state change.

    Parameters

    • listener: () => void

      A callback that's invoked on state change.

    Returns Unsubscribe

    A function to remove the listener.

Properties

The state of the SmartSnippetQuestionsList controller.

MMNEPVFCICPMFPCPTTAAATR