Skip to content

Commit

Permalink
Changed misspelled component name "bootrap" to "bootstrap"
Browse files Browse the repository at this point in the history
fixes #468
  • Loading branch information
softsimon committed Sep 3, 2020
1 parent 41f1e03 commit 71c33ed
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 18 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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({
// ...
Expand All @@ -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[];
Expand All @@ -52,7 +52,7 @@ export class MyClass implements OnInit {
In your template, use the component directive:

```html
<ngx-bootrap-multiselect [options]="myOptions" [(ngModel)]="optionsModel" (ngModelChange)="onChange($event)"></ngx-bootrap-multiselect>
<ngx-bootstrap-multiselect [options]="myOptions" [(ngModel)]="optionsModel" (ngModelChange)="onChange($event)"></ngx-bootstrap-multiselect>
```

## Customize
Expand Down Expand Up @@ -100,7 +100,7 @@ myOptions: IMultiSelectOption[] = [
```

```html
<ngx-bootrap-multiselect [options]="myOptions" [texts]="myTexts" [settings]="mySettings" [(ngModel)]="optionsModel"></ngx-bootrap-multiselect>
<ngx-bootstrap-multiselect [options]="myOptions" [texts]="myTexts" [settings]="mySettings" [(ngModel)]="optionsModel"></ngx-bootstrap-multiselect>
```
### Settings
| Setting | Description | Default Value |
Expand Down Expand Up @@ -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[] = [
Expand All @@ -203,7 +203,7 @@ export class MyClass implements OnInit {

```html
<form [formGroup]="myForm">
<ngx-bootrap-multiselect [options]="myOptions" formControlName="optionsModel"></ngx-bootrap-multiselect>
<ngx-bootstrap-multiselect [options]="myOptions" formControlName="optionsModel"></ngx-bootstrap-multiselect>
</form>
```

Expand Down
2 changes: 1 addition & 1 deletion karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
},
Expand Down
2 changes: 1 addition & 1 deletion ng-package.json
Original file line number Diff line number Diff line change
@@ -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"
}
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
})
Expand Down
Original file line number Diff line number Diff line change
@@ -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';
Expand Down
4 changes: 2 additions & 2 deletions src/public-api.ts
Original file line number Diff line number Diff line change
@@ -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';

0 comments on commit 71c33ed

Please sign in to comment.