mirror of
https://github.com/documize/community.git
synced 2025-07-22 22:59:43 +02:00
Componentize UI elements: buttons, toolbars
This commit is contained in:
parent
adbd00bdd7
commit
f140e7ef77
10 changed files with 215 additions and 64 deletions
|
@ -29,6 +29,14 @@ export default Controller.extend(Notifier, {
|
|||
|
||||
onError() {
|
||||
this.notifyError('Unable to save changes');
|
||||
},
|
||||
|
||||
onButtonClick(v) {
|
||||
console.log(v); // eslint-disable-line no-console
|
||||
},
|
||||
|
||||
onToolbarClick(v) {
|
||||
console.log(v); // eslint-disable-line no-console
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue