@coveo/headless
    Preparing search index...

    Interface DictionaryFieldContext

    The DictionaryFieldContext controller allows specifying which dictionary field keys to retrieve.

    Example: dictionary-field-context.fn.ts

    interface DictionaryFieldContext {
        state: DictionaryFieldContextState;
        add(field: string, key: string): void;
        remove(field: string): void;
        set(context: DictionaryFieldContextPayload): void;
        subscribe(listener: () => void): Unsubscribe;
    }

    Hierarchy (View Summary)

    Index

    Methods

    Properties

    Methods

    Properties

    The state of the DictionaryFieldContext controller.