path

sets a folder to be opened initially

string path;

Example

webix.ui({
    view:"filemanager",
    id:"fm",
    url: "//localhost:3200/",
    path: "/kittens" // kittens folder will be opened initially
});
 
$$("fm").config.path = "/puppies";

Details

This is a reactive property that sets the currently opened folder. Refreshing is not required as the change will be applied immediately.

You can also alter this property via the widget state object:

$$("fm").getState().path = "/puppies";
See also
Back to top