copy old frontend

This commit is contained in:
2018-05-10 22:23:58 +02:00
parent 85717752ab
commit 76fbd0c972
57 changed files with 8860 additions and 194 deletions

View File

@@ -0,0 +1,25 @@
import $ from 'jquery';
import Component from '../../../core/Component';
import markup from './Slider.html';
export default class Slider extends Component {
constructor(ctx, node, template) {
super(ctx, node, template || markup);
this.render(this.config);
}
onChange(evt) {}
sliderChange(evt) {
this.value = evt.target.value;
this.onChange(evt);
}
subscribe() {
this.node.delegate('input', 'input',
this.sliderChange.bind(this));
}
}