36 lines
373 B
JavaScript
36 lines
373 B
JavaScript
|
|
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();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|