SearchBoxCustomizations
Style and other options which can be customized on the embedded search widget box.
Extends
Properties
backgroundColor?
optional backgroundColor?: string;
The background color of the search box. Default: transparent.
border?
optional border?: string;
The CSS border of the widget box
Inherited from
borderRadius?
optional borderRadius?: number;
The border radius of the widget box
Inherited from
BoxCustomizations.borderRadius
boxShadow?
optional boxShadow?: string;
The CSS box-shadow of the widget box
Inherited from
fontSize?
optional fontSize?: number;
The size of the placeholder and query text. Default: 16px.
horizontalMargin?
optional horizontalMargin?: number;
A CSS margin to the left and right of the widget box
Inherited from
BoxCustomizations.horizontalMargin
placeholderText?
optional placeholderText?: string;
Text to display in the search box before a query is entered
searchIconUrl?
optional searchIconUrl?: string;
An https: or data: URL for an image to display instead of the default search icon (magnifying glass)
verticalMargin?
optional verticalMargin?: number;
A CSS margin above and below the widget box