Search
The main method to embed search directly into a target page container, with a result being materialized into a different page container.
- The first ‘search’ container can be any legitimate HTML5 container - usually a DIV tag. It will house the search text box.
- The second ‘preview’ container can be any legitimate HTML5 container - usually a DIV tag. It will house the resulting visual .
- The settings for the embedded search are specified in the SearchEmbedOptions object. This can include various properties and style settings .
- The method returns an instance of the “search” object, which has its own methods.
Example
The following snippet creates the embed search object