Skip to content

Commit

Permalink
Updating README with stackblitz example.
Browse files Browse the repository at this point in the history
  • Loading branch information
cesarrew committed Dec 23, 2021
1 parent 8dd2d67 commit cbe4ff2
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 14 deletions.
10 changes: 4 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

A very simple currency mask directive for Angular that allows using a number attribute with the ngModel. In other words, the model is a number, and not a string with a mask. It was tested in Angular version 13.

## Example App

https://stackblitz.com/edit/angular-ivy-bpn8by

## Getting Started

### Installing and Importing
Expand Down Expand Up @@ -91,9 +95,3 @@ This directive also provides built-in validation for minimum and maximum values.
```html
<input currencyMask [(ngModel)]="value" min="-10.50" max="100.75" />
```

### Example App

https://angular-ivy-bpn8by.stackblitz.io

## Questions? Open a Issue!
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ng2-currency-mask",
"version": "13.0.1",
"version": "13.0.2",
"description": "A very simple currency mask directive that allows using a number attribute with the ngModel.",
"repository": {
"type": "git",
Expand Down
10 changes: 4 additions & 6 deletions projects/ng2-currency-mask/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

A very simple currency mask directive for Angular that allows using a number attribute with the ngModel. In other words, the model is a number, and not a string with a mask. It was tested in Angular version 13.

## Example App

https://stackblitz.com/edit/angular-ivy-bpn8by

## Getting Started

### Installing and Importing
Expand Down Expand Up @@ -91,9 +95,3 @@ This directive also provides built-in validation for minimum and maximum values.
```html
<input currencyMask [(ngModel)]="value" min="-10.50" max="100.75" />
```

### Example App

https://angular-ivy-bpn8by.stackblitz.io

## Questions? Open a Issue!
2 changes: 1 addition & 1 deletion projects/ng2-currency-mask/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ng2-currency-mask",
"version": "13.0.1",
"version": "13.0.2",
"peerDependencies": {
"@angular/common": ">= 12.x.x",
"@angular/core": ">= 12.x.x"
Expand Down

0 comments on commit cbe4ff2

Please sign in to comment.