react - ReactJS filter - react js - reactjs
Article tag : react , react native , react js tutorial , create react app , react tutorial , learn react
What is filter key?
- FilterKeys is a feature of Microsoft Windows. It is an accessibility function that tells the keyboard to ignore brief or repeated keystrokes, in order to make typing easier for users with hand tremors.
learn react - react filter - react example
Install
Use
Options
- type {String}-data type
- placeholder {String}-input placeholder
- xs {Number}-value of bootstrap grid system
- xsOffset {Number}-offset value of bootstrap grid system
- perfect- filter perfect matching or not. default false.
FilterKeys
- Either an [String] or a String. Will be use by the filter method if no argument is passed there.
Methods
- Return a function which can be used to filter an array. keys can be String, [String] or null.
- If an array keys is an array, the function will return true if at least one of the keys of the item matches the search term.
Article tag : react , react native , react js tutorial , create react app , react tutorial , learn react
Static Methods
- filter(searchTerm, [keys], [{caseSensitive, fuzzy, sortResults}])
- Return a function which can be used to filter an array. searchTerm can be a regex or a String. keys can be String, [String] or null.
- If an array keys is an array, the function will return true if at least one of the keys of the item matches the search term.