Web UI component: j-SearchInput


  • Info
  • HTML
  • JS
  • CSS
  • Meta

j-SearchInput

Customizable search input.

Configuration:

  • searchicon {String} search icon (default: fa fa-search)
  • cancelicon {String} cancel icon (default: fa fa-times)
  • align {String} icon align (default: left)
  • placeholder {String} a plceholder
  • autofocus {Boolean/Number} enables auto-focus for non-mobile devices (number means a delay for auto-focus, default: false)
  • exec {String} a link to function(value) which is evaluated if the search input is affected

Methods:

  • component.focus() focuses input
  • component.clear() clears input

Author