readonly
Description
Optional. Enables/disables the readonly modeinfo
In this mode, Download is the only operation a user can perform.
Usage
readonly?: boolean;
Parameters
readonly
- (optional) if it's set to true, it enables the readonly mode; if false (default), the mode is disabled
Example
<script>
import { Filemanager } from "wx-svelte-filemanager";
import { getData, getDrive } from "./common/data";
</script>
<Filemanager
data={getData()}
drive={getDrive()}
readonly={true}
//other settings />
Related samples: Readonly mode