input-range
This commit is contained in:
parent
d39ef8827f
commit
de4d9c5bab
|
@ -38,3 +38,4 @@ import './pagination/pagination';
|
|||
import './searchbar/searchbar';
|
||||
import './table';
|
||||
import './th';
|
||||
import './input-range';
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
<div>
|
||||
<input type="range">
|
||||
</div>
|
|
@ -0,0 +1,31 @@
|
|||
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: '&' */
|
||||
}
|
||||
});
|
Loading…
Reference in New Issue