Files
Unify/application/demo/comment/edit/comment.editButton.js

36 lines
373 B
JavaScript
Raw Permalink Normal View History

2025-12-25 11:16:59 +01:00
import button from '/elements/button.js';
export default class editButton extends button{
label = "Edit";
#ifdef ANDROID
fontSize = 12;
width = "auto"
height = "auto"
#endif
async click() {
this.parent.parent.body.activateTextarea();
this.parent.parent.saveButton.show();
this.hide();
}
}