diff --git a/README.md b/README.md
index 48446d8f..20c1f3b4 100644
--- a/README.md
+++ b/README.md
@@ -10,14 +10,14 @@ Customizable multiselect dropdown in Angular(9+), TypeScript with Bootstrap css.
## Install
-* Install with [npm](https://www.npmjs.com): `npm install ngx-bootrap-multiselect --save`.
+* Install with [npm](https://www.npmjs.com): `npm install ngx-bootstrap-multiselect --save`.
## Usage
Import `NgxBootstrapMultiselectModule` into your @NgModule.
```js
-import { NgxBootstrapMultiselectModule } from 'ngx-bootrap-multiselect';
+import { NgxBootstrapMultiselectModule } from 'ngx-bootstrap-multiselect';
@NgModule({
// ...
@@ -31,7 +31,7 @@ import { NgxBootstrapMultiselectModule } from 'ngx-bootrap-multiselect';
Define options in your consuming component:
```js
-import { IMultiSelectOption } from 'ngx-bootrap-multiselect';
+import { IMultiSelectOption } from 'ngx-bootstrap-multiselect';
export class MyClass implements OnInit {
optionsModel: number[];
@@ -52,7 +52,7 @@ export class MyClass implements OnInit {
In your template, use the component directive:
```html
-
+
```
## Customize
@@ -100,7 +100,7 @@ myOptions: IMultiSelectOption[] = [
```
```html
-
+
```
### Settings
| Setting | Description | Default Value |
@@ -180,7 +180,7 @@ The implementor will be responsible for completing checks when the form is submi
### Use model driven forms with ReactiveFormsModule:
```js
-import { IMultiSelectOption } from 'ngx-bootrap-multiselect';
+import { IMultiSelectOption } from 'ngx-bootstrap-multiselect';
export class MyClass implements OnInit {
myOptions: IMultiSelectOption[] = [
@@ -203,7 +203,7 @@ export class MyClass implements OnInit {
```html
```
diff --git a/karma.conf.js b/karma.conf.js
index 89dd0014..298e2cb7 100644
--- a/karma.conf.js
+++ b/karma.conf.js
@@ -16,7 +16,7 @@ module.exports = function (config) {
clearContext: false // leave Jasmine Spec Runner output visible in browser
},
coverageIstanbulReporter: {
- dir: require('path').join(__dirname, '../../coverage/ngx-bootrap-multiselect'),
+ dir: require('path').join(__dirname, '../../coverage/ngx-bootstrap-multiselect'),
reports: ['html', 'lcovonly', 'text-summary'],
fixWebpackSourcePaths: true
},
diff --git a/ng-package.json b/ng-package.json
index 66793f4f..e88ae0b7 100644
--- a/ng-package.json
+++ b/ng-package.json
@@ -1,6 +1,6 @@
{
"$schema": "../../node_modules/ng-packagr/ng-package.schema.json",
- "dest": "../../dist/ngx-bootrap-multiselect",
+ "dest": "../../dist/ngx-bootstrap-multiselect",
"lib": {
"entryFile": "src/public-api.ts"
}
diff --git a/package.json b/package.json
index c30aeeb8..a71bde62 100644
--- a/package.json
+++ b/package.json
@@ -1,10 +1,10 @@
{
- "name": "ngx-bootrap-multiselect",
- "version": "2.0.0",
+ "name": "ngx-bootstrap-multiselect",
+ "version": "2.1.0",
"description": "Customizable multiselect dropdown in Angular 2 with bootstrap css.",
"repository": {
"type": "git",
- "url": "git+https://github.com/softsimon/ngx-bootrap-multiselect.git"
+ "url": "git+https://github.com/softsimon/ngx-bootstrap-multiselect.git"
},
"keywords": [
"angular",
diff --git a/src/lib/ngx-bootrap-multiselect.component.css b/src/lib/ngx-bootstrap-multiselect.component.css
similarity index 100%
rename from src/lib/ngx-bootrap-multiselect.component.css
rename to src/lib/ngx-bootstrap-multiselect.component.css
diff --git a/src/lib/ngx-bootrap-multiselect.component.html b/src/lib/ngx-bootstrap-multiselect.component.html
similarity index 100%
rename from src/lib/ngx-bootrap-multiselect.component.html
rename to src/lib/ngx-bootstrap-multiselect.component.html
diff --git a/src/lib/ngx-bootrap-multiselect.component.ts b/src/lib/ngx-bootstrap-multiselect.component.ts
similarity index 99%
rename from src/lib/ngx-bootrap-multiselect.component.ts
rename to src/lib/ngx-bootstrap-multiselect.component.ts
index a1ede116..f5cce2d2 100644
--- a/src/lib/ngx-bootrap-multiselect.component.ts
+++ b/src/lib/ngx-bootstrap-multiselect.component.ts
@@ -36,9 +36,9 @@ const MULTISELECT_VALUE_ACCESSOR: any = {
// tslint:disable-next-line: no-conflicting-lifecycle
@Component({
- selector: 'ngx-bootrap-multiselect',
- templateUrl: './ngx-bootrap-multiselect.component.html',
- styleUrls: ['./ngx-bootrap-multiselect.component.css'],
+ selector: 'ngx-bootstrap-multiselect',
+ templateUrl: './ngx-bootstrap-multiselect.component.html',
+ styleUrls: ['./ngx-bootstrap-multiselect.component.css'],
providers: [MULTISELECT_VALUE_ACCESSOR, MultiSelectSearchFilter],
changeDetection: ChangeDetectionStrategy.OnPush
})
diff --git a/src/lib/ngx-bootrap-multiselect.module.ts b/src/lib/ngx-bootstrap-multiselect.module.ts
similarity index 88%
rename from src/lib/ngx-bootrap-multiselect.module.ts
rename to src/lib/ngx-bootstrap-multiselect.module.ts
index b2a838c9..11da681b 100644
--- a/src/lib/ngx-bootrap-multiselect.module.ts
+++ b/src/lib/ngx-bootstrap-multiselect.module.ts
@@ -1,5 +1,5 @@
import { NgModule } from '@angular/core';
-import { NgxDropdownMultiselectComponent } from './ngx-bootrap-multiselect.component';
+import { NgxDropdownMultiselectComponent } from './ngx-bootstrap-multiselect.component';
import { CommonModule } from '@angular/common';
import { ReactiveFormsModule } from '@angular/forms';
import { MultiSelectSearchFilter } from './search-filter.pipe';
diff --git a/src/public-api.ts b/src/public-api.ts
index 01dd7804..2ce6e355 100644
--- a/src/public-api.ts
+++ b/src/public-api.ts
@@ -1,7 +1,7 @@
/*
- * Public API Surface of ngx-bootrap-multiselect
+ * Public API Surface of ngx-bootstrap-multiselect
*/
export * from './lib/types';
export * from './lib/search-filter.pipe';
-export * from './lib/ngx-bootrap-multiselect.module';
+export * from './lib/ngx-bootstrap-multiselect.module';