Skip to main content

Read-only mode

info

In this mode, Download is the only operation you can perform.

By default the read-only mode is set to false (disabled). To switch to the read-only mode, set the readonly property to true and define it inside the Filemanager tag.

<script>
import { Filemanager } from "@wx/svelte-filemanager";
import { getData, getDrive } from "./common/data";

</script>

<Filemanager
data={getData()}
drive={getDrive()}
readonly={true} />

Related samples: Readonly mode