Editor.Panel
Panel module for operating panels
Methods
Editor.Panel.close (panelID, cb)
panelID
string - The panelID.cb
function
Close a panel viapanelID
.
Editor.Panel.findWindow (panelID)
panelID
string - The panelID.
Find and return an editor window that contains the panelID.
Editor.Panel.open (panelID, argv)
panelID
string - The panelID.argv
object - Argument store as key-value table, which will be used in panel'srun
function in renderer process.
Open a panel viapanelID
and passargv
to it. Theargv
will be execute in panel's run function in renderer process.
Editor.Panel.popup (panelID)
panelID
string - The panelID.
Popup an exists panel viapanelID
.
Properties
templateUrl
The html entry file used for standalone panel window. Default is 'editor-framework://static/window.html'.