Skip to content

Commit 79db12b

Browse files
committed
update angular 12 and added tow-way binding value
1 parent 89a14ec commit 79db12b

File tree

16 files changed

+11744
-15454
lines changed

16 files changed

+11744
-15454
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
# Changelog
22
All notable changes to this project will be documented in this file.
33

4+
## [1.2.0] - 2022-03-05
5+
### Added
6+
- Update to Angular 12
7+
- Add two-way binding to `value`
8+
49
## [1.1.0] - 2022-03-02
510
### Changes
611
- Update to Angular 11

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ This is a toggle switch button component, you can see the demo [here](https://ng
77

88
| Angular | ng-toggle-button|
99
| -------- |:------:|
10+
| >=12.0.0 | v1.2.x |
1011
| >=11.0.0 | v1.1.x |
1112
| >=10.0.0 | v1.0.x |
1213
| >=9.0.0 | v0.2.x |

angular.json

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,13 @@
6161
"styles": [
6262
"projects/demo/src/styles.css"
6363
],
64-
"scripts": []
64+
"scripts": [],
65+
"vendorChunk": true,
66+
"extractLicenses": false,
67+
"buildOptimizer": false,
68+
"sourceMap": true,
69+
"optimization": false,
70+
"namedChunks": true
6571
},
6672
"configurations": {
6773
"production": {
@@ -87,7 +93,8 @@
8793
}
8894
]
8995
}
90-
}
96+
},
97+
"defaultConfiguration": ""
9198
},
9299
"serve": {
93100
"builder": "@angular-devkit/build-angular:dev-server",

0 commit comments

Comments
 (0)