32 lines
766 B
JavaScript
32 lines
766 B
JavaScript
|
import ngModule from '../../module';
|
||
|
import Input from '../../lib/input';
|
||
|
import './style.scss';
|
||
|
|
||
|
export default class InputRange extends Input {
|
||
|
constructor($element, $scope, $attrs, vnTemplate, $transclude) {
|
||
|
super($element, $scope);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
InputRange.$inject = ['$element', '$scope', '$attrs', '$transclude'];
|
||
|
|
||
|
ngModule.component('vnInputRange', {
|
||
|
template: require('./index.html'),
|
||
|
/* transclude: {
|
||
|
leftIcons: '?tLeftIcons',
|
||
|
rightIcons: '?tRightIcons'
|
||
|
}, */
|
||
|
controller: InputRange,
|
||
|
bindings: {
|
||
|
/* value: '=model',
|
||
|
label: '@?',
|
||
|
name: '@?',
|
||
|
disabled: '<?',
|
||
|
readonly: '<?',
|
||
|
rule: '@?',
|
||
|
type: '@?',
|
||
|
vnTabIndex: '@?',
|
||
|
onChange: '&' */
|
||
|
}
|
||
|
});
|