value
Description
Optional. Controls whether the widget is in the read-only modeUsage
readonly?: boolean;
Parameters
The property values are the following:
true
- the read-only mode is enabledfalse
- (default) the read-only mode is disabled
Examples
Showing widget in readonly mode
<script>
import { Tasklist } from '@svar-ui/svelte-tasklist';
import { value } from './data.js';
</script>
<Tasklist {value} readonly={true} />