docs: fix onremove lifecycle doc (#1552)
Fixed the description of onremove to match the current implementation of onbeforeremove (promise vs. done callback)
This commit is contained in:
parent
813bfb5643
commit
542b87889b
1 changed files with 1 additions and 1 deletions
|
|
@ -154,7 +154,7 @@ var Fader = {
|
|||
|
||||
### onremove
|
||||
|
||||
The `onremove(vnode)` hook is called before a DOM element is removed from the document. If a `onbeforeremove` hook is also defined, the `onremove` hook runs after the `done` callback is called.
|
||||
The `onremove(vnode)` hook is called before a DOM element is removed from the document. If a `onbeforeremove` hook is also defined, the `onremove` hook runs after the promise returned from `onbeforeremove` is completed.
|
||||
|
||||
This hook is called on any element that is removed from the document, regardless of whether it was directly detached from its parent or whether it is a child of another element that was detached.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue