First commit
This commit is contained in:
35
application/demo/comment/edit/comment.editButton.js
Normal file
35
application/demo/comment/edit/comment.editButton.js
Normal file
@@ -0,0 +1,35 @@
|
||||
|
||||
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();
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user