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

13 lines
275 B
JavaScript
Raw Normal View History

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