1.0.2 • Published 5 years ago
react-taggle-input v1.0.2
React Taggle Input
Simple react tagging Input component. Inspired from taggle.js - Jquery library
Installation
npm install --save react-taggle-input
Props
Prop | Type | Default |
---|---|---|
tags | Array | [] |
maxTags | Number | 0 |
allowDuplicates | Boolean | false |
duplicateTagClass | String | bounce |
placeholder | String | Enter the tags |
onBeforeTagAdd | Function | undefined |
onAfterTagAdd | Function | undefined |
onBeforeTagRemove | Function | undefined |
onAfterTagRemove | Function | undefined |
onInputBlur | Function | undefined |
onInputChange | Function | undefined |
keyCodesToAddTag | Array | [13] |
saveOnBlur | Boolean | false |
readOnly | Boolean | false |
Set up instructions
git clone https://github.com/kameshRavi/react-taggle-input.git
cd react-taggle-input
npm install
npm start