forked from nh2/DefinitelyTyped
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathangular-touchspin-tests.ts
More file actions
29 lines (28 loc) · 959 Bytes
/
Copy pathangular-touchspin-tests.ts
File metadata and controls
29 lines (28 loc) · 959 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import angularTouchSpin = require("angular-touchspin");
import * as angular from 'angular';
angular
.module('touchspin-tests', ['nk.touchspin'])
.config(function(touchspinConfigProvider: angular.touchspin.ITouchSpinConfigProvider) {
touchspinConfigProvider.defaults(<angular.touchspin.ITouchSpinOptions>{
min: 0,
max: 0,
step: 0,
decimals: 0,
stepInterval: 0,
forceStepDivisibility: '', // none | floor | round | ceil
stepIntervalDelay: 0,
verticalButtons: true,
verticalUpClass: '',
verticalDownClass: '',
initVal: 0,
prefix: '',
postfix: '',
prefixExtraClass: '',
postfixExtraClass: '',
mousewheel: true,
buttonDownClass: '',
buttonUpClass: '',
buttonDownTxt: '',
buttonUpTxt: ''
});
});