mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-31 04:59:21 +03:00
Added some documentation
This commit is contained in:
parent
47a6af52ba
commit
169dbfecca
2 changed files with 8 additions and 15 deletions
|
|
@ -29,8 +29,8 @@ class AbstractView {
|
|||
|
||||
/*
|
||||
onBuild() {}
|
||||
onBeforeShow() {}
|
||||
onShow() {}
|
||||
onBeforeShow() {} // Happens before: hidden = false
|
||||
onShow() {} // Happens after: hidden = false
|
||||
onHide() {}
|
||||
*/
|
||||
|
||||
|
|
@ -71,13 +71,17 @@ export class AbstractViewPopup extends AbstractView
|
|||
shortcuts.add('backspace', '', name, inFocus());
|
||||
}
|
||||
|
||||
// Happens when user hits Escape key
|
||||
onClose() {
|
||||
return true;
|
||||
}
|
||||
|
||||
/*
|
||||
afterShow() {}
|
||||
afterHide() {}
|
||||
onBeforeShow() {} // Happens before showModal()
|
||||
onShow() {} // Happens after showModal()
|
||||
afterShow() {} // Happens after showModal() animation transitionend
|
||||
onHide() {} // Happens before animation transitionend
|
||||
afterHide() {} // Happens after animation transitionend
|
||||
|
||||
closeCommand() {}
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue