Creates a new SearchBar instance
Calling this method will cause an injection of a new SearchBar node in the page at the point where the script is declared.
Parameter |
Type |
Usage |
Description |
searchBarId |
String |
required |
A unique ID for the SearchBar. |
extendAtStartup |
Boolean |
required |
States whether the detailed search or the wild search form is visible on startup. |
action |
Object |
required |
ViewAction and ObjectID for the SearchBar form. |
generalTranslations |
Object |
required |
Collection of page specific translation string for the SearchBar. |
fields |
Object |
required |
Collection of input fields. |
classes |
Object |
required |
|
Examples