ultrawidify/js/lib/libghettoui/buttons/Button.js

11 lines
217 B
JavaScript
Raw Normal View History

class Button extends BaseElement {
2018-11-11 02:25:47 +01:00
constructor(id, label, onClick, additionalClasses) {
super(
id,
label,
onClick,
additionalClasses
);
this.element.classList.add('button');
}
}