Skip to content

Latest commit

 

History

History
49 lines (34 loc) · 1.33 KB

README.md

File metadata and controls

49 lines (34 loc) · 1.33 KB

Please consider using this fork: https://github.com/bekzod/ember-slack-search-input

This repo is not under active development, we are now using the above version instead.

Ember Tag Search Input

Demo

ember-tag-search-input

Basic Usage

{{tag-search-input
  placeholder='Search for objects'
  modifierConfig=config
  inputValue=model.queryString
  valueChange=(action 'searchValueChange')
  modifierAutoComplete=(action 'modifierAutoComplete')
}}

Component Options

Option Detail
placeholder Simple placeholder displayed when input has no value
modifierConfig Config object used for getting modifiers
inputValue Initial and bound value of input
valueChange Fired when inputValue changes (arguments: 1:newValue)
modifierAutoComplete Fired when the modifier has a valid value (arguments: 1:newValue, 2:modifierValue)

Install

  • ember install ember-tag-search-input

Development

  • git clone https://github.com/inprod/ember-tag-search-input.git
  • npm install
  • bower install
  • ember server
  • Visit your app at http://localhost:4200.

Building

  • ember build

For more information on using ember-cli, visit http://www.ember-cli.com/.