我计划在我的项目中使用带有角度4的Bootstrap 4,但我npm install --save @ng-bootstrap/ng-bootstrap和之间感到困惑npm install ngx-bootstrap --save.所以任何人都可以帮助我哪个更适合角4?
我正在使用angular 2,我想ngModel在Enter后更改,在角度1.X我们可以使用ng-model-options="{updateOn: 'change blur'}",但在角度2我们怎么办?
角度1.x
<input class="form-control value-max" type="text" ng-model="$ctrl.filterData.price_max" ng-model-options="{updateOn: 'change blur'}">
Run Code Online (Sandbox Code Playgroud)