Mount the File Manager

Flmngr.mount

( el, params )

Mounts the file manager dialog to specified element of DOM tree as a panel component.

This method is used to attach Flmngr file manager in React integration using <FlmngrPanel> binding, but you can use it in JavaScript/TypeScript or any other integration as well.

Actually, this is an alias for calling open() method with explicit specification of el parameter and setting the default value of the isMultiple parameter to null (don't allow file picking), but the latter may be defined as you wish.

Some open() function parameters related to the dialog are obviously not applicable and will be ignored.

Parameters

  • el

    :
    HTMLElement

    Specifies the DOM tree element to attach the file manager component to.

    This is a mandatory element, if you don't specify it, an exeption is thrown.

  • params

    :
    { parameters of Flmngr.open() method }

    Being an alias method, it accepts parameters that you can pass to the Flmngr.open({params}) method.