@bridgeline-digital/hawksearch-handlebars-ui
    Preparing search index...

    Interface VisualSearchFieldComponentConfig

    interface VisualSearchFieldComponentConfig {
        shadowDom?: boolean;
        strings?: {
            dragImageMessage?: string;
            dropImageMessage?: string;
            errorMessage?: string;
            uploadImageMessage?: string;
        };
        template?: string;
        useCustomStyle?: boolean;
    }

    Hierarchy (View Summary)

    Index

    Properties

    shadowDom?: boolean

    Specifies whether the component should be rendered in the Shadow DOM. This is highly recommended to avoid CSS conflicts.

    true

    strings?: {
        dragImageMessage?: string;
        dropImageMessage?: string;
        errorMessage?: string;
        uploadImageMessage?: string;
    }

    Type Declaration

    • OptionaldragImageMessage?: string

      Drag an image here or For more information, see Components.

    • OptionaldropImageMessage?: string

      Drop an image here For more information, see Components.

    • OptionalerrorMessage?: string

      Drop an image here For more information, see Components.

    • OptionaluploadImageMessage?: string

      upload an image For more information, see Components.

    template?: string

    Specifies a custom template to be used instead of the default template.

    For more information, see Components.

    useCustomStyle?: boolean

    Specifies whether the component should be rendered in the avoid injecting the css to head of the page. This would only effect when shadowDom false