added themeLoaded event
added 'themeLoaded' event that is dispatched right after a theme is loaded.
it can be used like this :
this.editor.renderer.on('themeLoaded',function(){
//do something when the theme is loaded
});
This commit is contained in:
parent
ce5007935a
commit
c4de324545
1 changed files with 2 additions and 0 deletions
|
|
@ -1329,6 +1329,8 @@ var VirtualRenderer = function(container, theme) {
|
||||||
_self.$size.width = 0;
|
_self.$size.width = 0;
|
||||||
_self.onResize();
|
_self.onResize();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
_self._dispatchEvent('themeLoaded');
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue