spawnFromFile(viewClass, selectorArgs, callback)ΒΆ
Arguments:
  • viewClass (BaseView) – The view class to be spawned.
  • selectorArgs (Object) – Additional arguments to be passed to the file selector.
Callback args:
  1. path (String) – The path argument of the fileSelector callback. If the callback does not return undefined, this value will be used as args while spawning the viewClass.