diff --git a/client/core/src/components/index.js b/client/core/src/components/index.js index b1e5ed252..c95345199 100644 --- a/client/core/src/components/index.js +++ b/client/core/src/components/index.js @@ -38,3 +38,4 @@ import './pagination/pagination'; import './searchbar/searchbar'; import './table'; import './th'; +import './input-range'; diff --git a/client/core/src/components/input-range/index.html b/client/core/src/components/input-range/index.html new file mode 100644 index 000000000..558b320a5 --- /dev/null +++ b/client/core/src/components/input-range/index.html @@ -0,0 +1,3 @@ +
+ +
\ No newline at end of file diff --git a/client/core/src/components/input-range/index.js b/client/core/src/components/input-range/index.js new file mode 100644 index 000000000..83a46d98b --- /dev/null +++ b/client/core/src/components/input-range/index.js @@ -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: '