mirror of
https://github.com/flarum/core.git
synced 2025-08-09 18:07:02 +02:00
Update SubtreeRetainer docblock
This commit is contained in:
committed by
Franz Liedke
parent
7ba8a7122b
commit
43bfaa7400
@@ -11,8 +11,8 @@
|
|||||||
* );
|
* );
|
||||||
* this.subtree.check(() => this.attrs.user.freshness);
|
* this.subtree.check(() => this.attrs.user.freshness);
|
||||||
*
|
*
|
||||||
* // view
|
* // onbeforeupdate
|
||||||
* this.subtree.retain() || 'expensive expression'
|
* return this.subtree.needsRebuild()
|
||||||
*
|
*
|
||||||
* @see https://mithril.js.org/lifecycle-methods.html#onbeforeupdate
|
* @see https://mithril.js.org/lifecycle-methods.html#onbeforeupdate
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user