My Tiddlywiki 5.3.4 is configured using Node.js under windows. Lazy loading is enabled for a big data tiddler with type application/json
.
Following documentation of lazy loading, I using function getTiddlerText
to load text in my filter
operator.
var t_text = $tw.wiki.getTiddlerText(title);
However, the text is not loaded and variable t_text
equals to null
.
After debugging, function exports.getTiddlerText
in wiki.js
is called with following codes
this.dispatchEvent("lazyLoad",title);
return null;
It seems system is loading text and return null
. How should I wait for loading and get text
?