treeReady(callback) {
    let deferred = $.Deferred()
    this.$tree.on('ready.jstree', deferred.resolve)
    if (callback) deferred.then(callback)
    return deferred
  }
/**
  * Returns a deferred value that is resolved when the tree has loaded
  */
Returns a deferred value that is resolved when the tree has loaded
Returns a deferred value that is resolved when the tree has loaded
treeReady(callback) {
    let deferred = $.Deferred()
    this.$tree.on('ready.jstree', deferred.resolve)
    if (callback) deferred.then(callback)
    return deferred
  }
treeReady ( callback ) { let deferred = $ . Deferred ( ) this . $tree . on ( 'ready.jstree' , deferred . resolve ) if ( callback ) deferred . then ( callback ) return deferred }
Returns a deferred value that is resolved when the tree has loaded
Returns a deferred value that is resolved when the tree has loaded