Skip to content

Plugin: Place.plugin

podefr edited this page Mar 24, 2013 · 1 revision

UIPlugin is a helper. It does nothing else than placing a previously initialized UI.

// myUI should be an instance of an OObject
var uiPlugin = new UIPlugin({"myUI": myUI});
UI.plugins.add("place", uiPlugin);
<!--  And in the dom, myUI will be placed here -->
<div data-place="place: myUI"></div>
Clone this wiki locally