VISPA¶
TODO: introduction to VISPA
spawnInstance
(extName, viewName[, args[, viewArgs[, baseArgs]]])¶Spawn a new view from the given parameters.
Arguments:
- extName (String) – The name of the extension that has the view.
- viewName (String) – The anem of the view to open.
- args (Object) – The args to be provided to the view.
- viewArgs (Object) – The viewArgs to be provided to the view.
- baseArgs (Object) – The baseArgs to be provided to the view.
Returns: The view that was opened. It is most likely not ready to use yet.
Return type: BaseView
Throws: Error – If either the extension of the view was not found.