This component is an alternative to the default file-browser.
You can open it in two ways:
op('fileBrowser').OpenViewer()
op('fileBrowser').OpenPanel()
Both methods allow for additional arguments:
- start_path = The path you want to browser to start at.
- callback = A callbackfunction with one arguments that is called when a file is selected. This can be a lambda-function or an existing one.
- extensions = a single string or list of file-extensions, default is *