forked from DefinitelyTyped/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) · 964 Bytes
/
angular-touchspin-tests.ts
File metadata and controls
29 lines (28 loc) · 964 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
/// <reference path='../angularjs/angular.d.ts' />
/// <reference path='angular-touchspin.d.ts' />
angular
.module('touchspin-tests', ['lm.touchspin'])
.config(function(touchspinConfigProvider: angularTouchSpin.ITouchSpinConfigProvider) {
touchspinConfigProvider.defaults(<angularTouchSpin.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: ''
});
});