gi-feature-select-search
v0.0.1
Published
Select search feature using choices.
Downloads
9
Readme
select-search
feature
Select search feature using [Choices.js] (https://joshuajohnson.co.uk/Choices/).
Global dependencies
Dependencies
Installation
Install this package with sackmesser:
make feature-install-select-search
or when sackmesser is not used:
yarn install gi-feature-select-search
After the installation has completed, you can import the module files:
JS:
// import feature class
import SelectSearch from 'gi-feature-select-search'
// ...
base.features.add('select-search', SelectSearch)
Make sure you provide the global dependencies in your webpack config file:
new webpack.ProvidePlugin({
base: 'gi-js-base'
})
Styles:
@import 'gi-feature-select-search/src/style';
Browser compatibility
- Newest two browser versions of Chrome, Firefox, Safari and Edge
- IE 10 and above
Development
make build
ornpm run build
- Build production version of the feature.make dev
ornpm run dev
- Build demo of the feature, run a watcher and start browser-sync.make test
ornpm run test
- Test the feature.make jsdoc
- Update documentation inside thedocs
folder.make publish
- Publish npm package.