@ng-select/ng-select 13.7.0 → 13.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
[](https://badge.fury.io/js/%40ng-select%2Fng-select)
|
|
2
2
|
[![Coverage Status][coveralls-image]][coveralls-url]
|
|
3
3
|
[][ng-select-url]
|
|
4
|
+
[](https://discord.gg/ETyJTvKK)
|
|
4
5
|
|
|
5
6
|
[coveralls-image]: https://coveralls.io/repos/github/ng-select/ng-select/badge.svg?branch=master
|
|
6
7
|
[coveralls-url]: https://coveralls.io/github/ng-select/ng-select?branch=master
|
|
@@ -88,7 +89,7 @@ yarn add @ng-select/ng-select
|
|
|
88
89
|
|
|
89
90
|
#### Standalone: Import NgSelectComponent and other necessary directives directly:
|
|
90
91
|
```typescript
|
|
91
|
-
import {
|
|
92
|
+
import { NgLabelTemplateDirective, NgOptionTemplateDirective, NgSelectComponent } from '@ng-select/ng-select';
|
|
92
93
|
import { FormsModule } from '@angular/forms';
|
|
93
94
|
|
|
94
95
|
@Component({
|
|
@@ -97,9 +98,9 @@ import { FormsModule } from '@angular/forms';
|
|
|
97
98
|
template: './example.component.html',
|
|
98
99
|
styleUrl: './example.component.scss',
|
|
99
100
|
imports: [
|
|
100
|
-
NgSelectComponent,
|
|
101
|
-
NgOptionTemplateDirective,
|
|
102
101
|
NgLabelTemplateDirective,
|
|
102
|
+
NgOptionTemplateDirective,
|
|
103
|
+
NgSelectComponent,
|
|
103
104
|
],
|
|
104
105
|
})
|
|
105
106
|
export class ExampleComponent {}
|