1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-04-12 22:03:15 +00:00

Let view widget viewers get postRenderInDom() callbacks

This commit is contained in:
Jeremy Ruston 2013-03-19 18:59:00 +00:00
parent 28707edd72
commit dbfbad3dd3

View File

@ -109,6 +109,12 @@ ViewWidget.prototype.refreshInDom = function(changedAttributes,changedTiddlers)
}
};
ViewWidget.prototype.postRenderInDom = function() {
if(this.viewer && this.viewer.postRenderInDom) {
this.viewer.postRenderInDom();
}
};
exports.view = ViewWidget;
})();