From 1c8a7b211e2daeb47943a8319223e03140a19e2b Mon Sep 17 00:00:00 2001 From: Sergei Dorogin Date: Mon, 11 Sep 2017 17:38:39 +0300 Subject: [PATCH] [jquery.fancytree] added enableUpdate method (reference http://www.wwwendt.de/tech/fancytree/doc/jsdoc/Fancytree.html#enableUpdate) --- types/jquery.fancytree/index.d.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/types/jquery.fancytree/index.d.ts b/types/jquery.fancytree/index.d.ts index f4e6ac7be8..34d90d9e8f 100644 --- a/types/jquery.fancytree/index.d.ts +++ b/types/jquery.fancytree/index.d.ts @@ -190,6 +190,13 @@ declare namespace Fancytree { /** Write warning to browser console (prepending tree info) */ warn(msg: any): void; + + /** Temporarily suppress rendering to improve performance on bulk-updates. + * + * @param {boolean} flag + * @returns {boolean} previous status + * @since 2.19 */ + enableUpdate(enabled: boolean): void; } /** A FancytreeNode represents the hierarchical data model and operations. */