getSearchSettings ();
The getSearchSettings method returns settings determined in the dialog box.
The method returns the following settings:
NOTE. These settings can be determined in the SearchDialog constructor on creating a component.
To execute the example, the HTML page must contain the SearchDialog component named searchDialog (see Example of Creating the SearchDialog Component). Output the entry box value to the console:
console.log("Find: " +searchDialog.getSearchSettings().SearchText);
After executing the example the browser console displays search bar value.
See also: