Web UI component: j-Features
j-Features
- only for desktop computers
- singleton
- works with Bootstrap Grid System
Methods
Method: component.show([items], callback)
items
{Object Array} (required) with list of features. Each item needs to contain:name
{String} a feature nameicon
{String} (optional) icon withoutfa-
keywords
{String} (optional) additional keywords for searchingvalue
{Object/String/Number} a value
callback(selected)
{Function} a callback which is called when the user performs click for some feature.selected
argument contains selected item.
Method: component.hide()
Configuration:
placeholder
{String} a placeholder for the search inputheight
{Number} height of list item (optional, default35
)
If the value
isn't defined then the component uses name
as value
.
Author
- Peter Širka petersirka@gmail.com
- License
Created
08. august 2017
Updated
30. may 2020
Version
v1
License
https://www.totaljs.com/license/
Dark mode
Yes
Responsive
No
Author
Peter Širka
Email
petersirka@gmail.com
