2018-11-11 02:25:47 +01:00
|
|
|
class ShortcutButton extends Button {
|
|
|
|
constructor(id, label, shortcutLabel, onClick, additionalClasses) {
|
2018-11-18 03:29:16 +01:00
|
|
|
console.log("additional classes -- sb", additionalClasses)
|
2018-11-11 02:25:47 +01:00
|
|
|
super(
|
|
|
|
id,
|
|
|
|
`${label}<br/><span class="smallcaps small darker">(${shortcutLabel})`,
|
|
|
|
onClick,
|
|
|
|
additionalClasses
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|