Skip to content

Commit 71c33ed

Browse files
committed
Changed misspelled component name "bootrap" to "bootstrap"
fixes #468
1 parent 41f1e03 commit 71c33ed

9 files changed

+18
-18
lines changed

README.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -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

1717
Import `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';
3131
Define options in your consuming component:
3232

3333
```js
34-
import { IMultiSelectOption } from 'ngx-bootrap-multiselect';
34+
import { IMultiSelectOption } from 'ngx-bootstrap-multiselect';
3535

3636
export class MyClass implements OnInit {
3737
optionsModel: number[];
@@ -52,7 +52,7 @@ export class MyClass implements OnInit {
5252
In 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

185185
export 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

karma.conf.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ module.exports = function (config) {
1616
clearContext: false // leave Jasmine Spec Runner output visible in browser
1717
},
1818
coverageIstanbulReporter: {
19-
dir: require('path').join(__dirname, '../../coverage/ngx-bootrap-multiselect'),
19+
dir: require('path').join(__dirname, '../../coverage/ngx-bootstrap-multiselect'),
2020
reports: ['html', 'lcovonly', 'text-summary'],
2121
fixWebpackSourcePaths: true
2222
},

ng-package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "../../node_modules/ng-packagr/ng-package.schema.json",
3-
"dest": "../../dist/ngx-bootrap-multiselect",
3+
"dest": "../../dist/ngx-bootstrap-multiselect",
44
"lib": {
55
"entryFile": "src/public-api.ts"
66
}

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
2-
"name": "ngx-bootrap-multiselect",
3-
"version": "2.0.0",
2+
"name": "ngx-bootstrap-multiselect",
3+
"version": "2.1.0",
44
"description": "Customizable multiselect dropdown in Angular 2 with bootstrap css.",
55
"repository": {
66
"type": "git",
7-
"url": "git+https://github.com/softsimon/ngx-bootrap-multiselect.git"
7+
"url": "git+https://github.com/softsimon/ngx-bootstrap-multiselect.git"
88
},
99
"keywords": [
1010
"angular",

src/lib/ngx-bootrap-multiselect.component.ts src/lib/ngx-bootstrap-multiselect.component.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ const MULTISELECT_VALUE_ACCESSOR: any = {
3636

3737
// tslint:disable-next-line: no-conflicting-lifecycle
3838
@Component({
39-
selector: 'ngx-bootrap-multiselect',
40-
templateUrl: './ngx-bootrap-multiselect.component.html',
41-
styleUrls: ['./ngx-bootrap-multiselect.component.css'],
39+
selector: 'ngx-bootstrap-multiselect',
40+
templateUrl: './ngx-bootstrap-multiselect.component.html',
41+
styleUrls: ['./ngx-bootstrap-multiselect.component.css'],
4242
providers: [MULTISELECT_VALUE_ACCESSOR, MultiSelectSearchFilter],
4343
changeDetection: ChangeDetectionStrategy.OnPush
4444
})

src/lib/ngx-bootrap-multiselect.module.ts src/lib/ngx-bootstrap-multiselect.module.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { NgModule } from '@angular/core';
2-
import { NgxDropdownMultiselectComponent } from './ngx-bootrap-multiselect.component';
2+
import { NgxDropdownMultiselectComponent } from './ngx-bootstrap-multiselect.component';
33
import { CommonModule } from '@angular/common';
44
import { ReactiveFormsModule } from '@angular/forms';
55
import { MultiSelectSearchFilter } from './search-filter.pipe';

src/public-api.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
2-
* Public API Surface of ngx-bootrap-multiselect
2+
* Public API Surface of ngx-bootstrap-multiselect
33
*/
44

55
export * from './lib/types';
66
export * from './lib/search-filter.pipe';
7-
export * from './lib/ngx-bootrap-multiselect.module';
7+
export * from './lib/ngx-bootstrap-multiselect.module';

0 commit comments

Comments
 (0)