@@ -10,14 +10,14 @@ Customizable multiselect dropdown in Angular(9+), TypeScript with Bootstrap css.
1010
1111## Install
1212
13- * Install with [ npm] ( https://www.npmjs.com ) : ` npm install ngx-bootrap -multiselect --save ` .
13+ * Install with [ npm] ( https://www.npmjs.com ) : ` npm install ngx-bootstrap -multiselect --save ` .
1414
1515## Usage
1616
1717Import ` NgxBootstrapMultiselectModule ` into your @NgModule .
1818
1919``` js
20- import { NgxBootstrapMultiselectModule } from ' ngx-bootrap -multiselect' ;
20+ import { NgxBootstrapMultiselectModule } from ' ngx-bootstrap -multiselect' ;
2121
2222@NgModule ({
2323 // ...
@@ -31,7 +31,7 @@ import { NgxBootstrapMultiselectModule } from 'ngx-bootrap-multiselect';
3131Define options in your consuming component:
3232
3333``` js
34- import { IMultiSelectOption } from ' ngx-bootrap -multiselect' ;
34+ import { IMultiSelectOption } from ' ngx-bootstrap -multiselect' ;
3535
3636export class MyClass implements OnInit {
3737 optionsModel: number[];
@@ -52,7 +52,7 @@ export class MyClass implements OnInit {
5252In your template, use the component directive:
5353
5454``` html
55- <ngx-bootrap -multiselect [options] =" myOptions" [(ngModel)] =" optionsModel" (ngModelChange) =" onChange($event)" ></ngx-bootrap -multiselect >
55+ <ngx-bootstrap -multiselect [options] =" myOptions" [(ngModel)] =" optionsModel" (ngModelChange) =" onChange($event)" ></ngx-bootstrap -multiselect >
5656```
5757
5858## Customize
@@ -100,7 +100,7 @@ myOptions: IMultiSelectOption[] = [
100100```
101101
102102``` html
103- <ngx-bootrap -multiselect [options] =" myOptions" [texts] =" myTexts" [settings] =" mySettings" [(ngModel)] =" optionsModel" ></ngx-bootrap -multiselect >
103+ <ngx-bootstrap -multiselect [options] =" myOptions" [texts] =" myTexts" [settings] =" mySettings" [(ngModel)] =" optionsModel" ></ngx-bootstrap -multiselect >
104104```
105105### Settings
106106| Setting | Description | Default Value |
@@ -180,7 +180,7 @@ The implementor will be responsible for completing checks when the form is submi
180180### Use model driven forms with ReactiveFormsModule:
181181
182182``` js
183- import { IMultiSelectOption } from ' ngx-bootrap -multiselect' ;
183+ import { IMultiSelectOption } from ' ngx-bootstrap -multiselect' ;
184184
185185export class MyClass implements OnInit {
186186 myOptions: IMultiSelectOption[] = [
@@ -203,7 +203,7 @@ export class MyClass implements OnInit {
203203
204204``` html
205205<form [formGroup] =" myForm" >
206- <ngx-bootrap -multiselect [options] =" myOptions" formControlName =" optionsModel" ></ngx-bootrap -multiselect >
206+ <ngx-bootstrap -multiselect [options] =" myOptions" formControlName =" optionsModel" ></ngx-bootstrap -multiselect >
207207</form >
208208```
209209
0 commit comments