salix/client/core/src/components/input-range/index.js

32 lines
766 B
JavaScript
Raw Normal View History

2018-08-23 12:10:54 +00:00
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: '&' */
}
});