Web Component: j-SearchData
j-SearchData
This component tries to filter data according to the search phrase.
- jComponent
v19|v20
Configuration:
datasource
{String}
required - a path to the data-source with list of itemsArray
output
{String}
required - a path for filtered itemskey
{String}
required - a key/property name for searching (default:name
)delay
{Number}
a delay (default:50
ms)splitwords
{Boolean}
tries to find word in various position (default:true
)
Good to know:
This component adds classes below automatically when:
- class
ui-search-used
is added when the user searches for something - class
ui-search-empty
is added when the user searches for something and at the same time nothing was found
Author
- Peter Širka petersirka@gmail.com
- License
Created
26. february 2022
Updated
01. february 2023
jComponent library
19 | 20
Version
v1
License
https://www.totaljs.com/license/
Responsive
Yes
Author
Peter Širka
Email
petersirka@gmail.com