All Projects → NicholasAzar → Ng Selectize

NicholasAzar / Ng Selectize

Licence: apache-2.0
Angular Selectize

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Ng Selectize

Ngx Slider
Self-contained, mobile friendly slider component for Angular 6+ based on angularjs-slider
Stars: ✭ 258 (+486.36%)
Mutual labels:  component, angular2
Rebirth Ng
rebirth-ng is a ui framework for Angular & bootstrap.
Stars: ✭ 118 (+168.18%)
Mutual labels:  component, angular2
Ng2 Fan Menu
Angular Fan Menu
Stars: ✭ 76 (+72.73%)
Mutual labels:  component, angular2
Incubator Wikift
enterprise level wikift is open source wiki system.
Stars: ✭ 300 (+581.82%)
Mutual labels:  component, angular2
Vue Drag Resize
Vue Component for resize and drag elements
Stars: ✭ 1,007 (+2188.64%)
Mutual labels:  component
Vst2
Bindings for vst2 sdk
Stars: ✭ 39 (-11.36%)
Mutual labels:  component
Dom99
Extend html with directives
Stars: ✭ 37 (-15.91%)
Mutual labels:  component
Dejajs Components
Angular components
Stars: ✭ 37 (-15.91%)
Mutual labels:  angular2
Vue Glitch
👻 Vue.js component to apply glitch effect in any kind of text
Stars: ✭ 44 (+0%)
Mutual labels:  component
Beziercurve
Bezier curve master
Stars: ✭ 43 (-2.27%)
Mutual labels:  component
Angular2 Take Until Destroy
Declarative way to unsubscribe from observables when the component destroyed
Stars: ✭ 40 (-9.09%)
Mutual labels:  angular2
Vue Clock Picker
A vue-based time picker Component
Stars: ✭ 39 (-11.36%)
Mutual labels:  component
React Sider
Lightweight Ant Design Pro like <Sider /> component integrated with Ant Design Menu.
Stars: ✭ 42 (-4.55%)
Mutual labels:  component
React Currency Formatter
💵 react component for currency formatting
Stars: ✭ 38 (-13.64%)
Mutual labels:  component
Shudan
A highly customizable, low-level Preact Goban component.
Stars: ✭ 43 (-2.27%)
Mutual labels:  component
React Native Really Awesome Button
React Native button component. Awesome Button is a 3D at 60fps, progress enabled, social ready, extendable, production ready component that renders an awesome animated set of UI buttons. 📱
Stars: ✭ 988 (+2145.45%)
Mutual labels:  component
Ng2 Md Datatable
Angular 5+ DataTable component for using with Material Design 2
Stars: ✭ 40 (-9.09%)
Mutual labels:  angular2
Vuescroll
A customizable scrollbar plugin based on vue.js for PC , mobile phone, touch screen, laptop.
Stars: ✭ 1,016 (+2209.09%)
Mutual labels:  component
Svg To Component
Convert SVG to React/Vue components
Stars: ✭ 40 (-9.09%)
Mutual labels:  component
Ng2 Pdf Viewer
📄 PDF Viewer Component for Angular 5+
Stars: ✭ 997 (+2165.91%)
Mutual labels:  angular2

ng-selectize

npm version

Angular (2,4,...) component for selectize.js

Hosted Example Site

Including within existing angular-cli project

  1. npm i --save ng-selectize jquery selectize

  2. Add the following to the styles array within angular.json:

    "node_modules/selectize/dist/css/selectize.css",
    "node_modules/selectize/dist/css/selectize.{your chosen theme}.css" // eg: .../selectize.bootstrap3.css
    // (a semantic-ui theme has been added to node_modules/ng-selectize/assets/selectize.semantic.css if needed)
    
  3. Add the following to the scripts array within angular.json

    "node_modules/jquery/dist/jquery.min.js",
    "node_modules/ng-selectize/assets/selectize.standalone.js" // (or take from node_modules/selectize/dist/js/standalone/selectize.min.js)
    
  4. Import module within applicable @NgModule:

    import {NgSelectizeModule} from 'ng-selectize';
    imports: [..., NgSelectizeModule, ...],
    
  5. Use within template: <ng-selectize [config]="..." [options] = "..." {other-attributes}></ng-selectize>

Running the demo

git pull git@github.com:NicholasAzar/ng-selectize-demo.git
cd ng-selectize-demo
npm i
npm start
// navigate to localhost:4200

Docs

The docs directory within this repo is the result of ng build --prod --aot from the ng-selectize-demo repository. It can be accessed from the hosted example site above.

Attributes

Attribute Type Default Description Implemented
config Object null Selectize config Yes
options Array null Available options to select from Yes
placeholder String '' Placeholder text to be displayed. Is overridden if hasOptionsPlaceholder/noOptionsPlaceholder are non-null Yes
noOptionsPlaceholder String '' Placeholder text to be displayed when no options are available Yes
hasOptionsPlaceholder String '' Placeholder text to be displayed when options are available Yes
enabled Boolean true Enables the input field when true, disabled otherwise Yes
formControl FormControl null Form control field to be used to set value and/or validation. Yes
errorClass String 'has-error' CSS Class to be added to the field when Yes
optionGroups Object null Organize options within groups Yes

Included Selectize Plugins

Name Options Description
dropdown_direction {'auto', 'up', 'down'} Control the direction in which the dropdown opens.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].