|
From: àÒÉÊ óÉÌØ×ÅÓÔÒÏ× <yur...@ma...> - 2001-02-16 16:33:27
|
May be, will be useful to allow plugins starts before DynAPI.onLoad() procedure.
E.g. I wrote a tooltip widget with one tooltip DynLayer for all tooltips. That's why I need to create this DynLayer after DynAPI and my ToolTip module are initialised, but before running user code.
To do this, I offer add some code to DynAPI.js:
for (var i=0;i<DynAPI.plugins.length; i++) {
if (DynAPI.plugins[i].onBeforeLoad) DynAPI.plugins[i].onBeforeLoad();
}
directly before DynAPI.onLoad() call
Yurij Silvestrov
|