11 lines
220 B
JavaScript
11 lines
220 B
JavaScript
|
class ShortcutButton extends BaseUi {
|
||
|
constructor(id, label, onClick, additionalClasses) {
|
||
|
super(
|
||
|
id,
|
||
|
label,
|
||
|
onClick,
|
||
|
additionalClasses
|
||
|
);
|
||
|
this.element.classList.add('button');
|
||
|
}
|
||
|
}
|