save length options on input blur

This commit is contained in:
Kyle Spearrin 2018-08-30 08:06:31 -04:00
parent e914abd42b
commit 1e56d84674
2 changed files with 2 additions and 2 deletions

2
jslib

@ -1 +1 @@
Subproject commit 5db115ae43018a34c87f00207498f2e768e4f9e5 Subproject commit 82bf646a779f9075acdb801a582c80e8b3d43a40

View File

@ -27,7 +27,7 @@
<div class="box-content-row box-content-row-slider" appBoxRow> <div class="box-content-row box-content-row-slider" appBoxRow>
<label for="length">{{'length' | i18n}}</label> <label for="length">{{'length' | i18n}}</label>
<input id="length" type="number" min="5" max="128" [(ngModel)]="options.length" <input id="length" type="number" min="5" max="128" [(ngModel)]="options.length"
(input)="saveOptions()"> (blur)="saveOptions()">
<input id="lengthRange" type="range" min="5" max="128" step="1" <input id="lengthRange" type="range" min="5" max="128" step="1"
[(ngModel)]="options.length" (change)="sliderChanged()" (input)="sliderInput()"> [(ngModel)]="options.length" (change)="sliderChanged()" (input)="sliderInput()">
</div> </div>