https://github.com/theturboboy/ng-nice-select
jQuery Nice Select directive for Angular 4+
https://github.com/theturboboy/ng-nice-select
angular angular4 jquery nice-select
Last synced: about 2 months ago
JSON representation
jQuery Nice Select directive for Angular 4+
- Host: GitHub
- URL: https://github.com/theturboboy/ng-nice-select
- Owner: theturboboy
- License: mit
- Created: 2019-01-17T09:37:19.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-17T14:26:57.000Z (over 7 years ago)
- Last Synced: 2024-04-25T12:44:52.898Z (about 2 years ago)
- Topics: angular, angular4, jquery, nice-select
- Language: TypeScript
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# jQuery Nice Select directive for Angular 4+
## Requirements
- [jQuery](https://jquery.com/) v1.11.3 and later
- [Angular](https://angular.io/) v4.0 and later
## Installation
```
yarn add ng-nice-select
```
or
```
npm install ng-nice-select --save
```
## Usage
Import styles:
```
@import '~jquery-nice-select/css/nice-select';
```
Import module:
```
import { NiceSelectModule } from "ng-nice-select";
```
Add `nice-select` directive to your select:
```
test
```
`[attr.data-value]="selectedValue"` is a trick to update nice select on value change
##License
The repository code is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT).