Constructor
new exports(enabled, immediate, timeout, searchingopt, queryopt, target, visibleopt, highlightopt)
- Source:
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
enabled |
Boolean |
false
|
flag to be set when enabling the search |
|
immediate |
Boolean |
false
|
flag to be set for serach to happen after each stroke rather than by |
|
timeout |
Number |
300
|
minimal time(in milliseconds) after last keystroke when searching takes place |
|
searching |
Boolean |
<optional> |
false
|
this property is mostly for internal use and is set when searching is in progress, which adds a class to the table hiding all rows not matching search |
query |
String |
<optional> |
''
|
search string |
target |
HTMLInputElement | the input element that triggered the search. |
||
visible |
Boolean |
<optional> |
false
|
search box is visible |
highlight |
Boolean |
<optional> |
true
|
search matches will be highlighted |