Skip to main content

value

Description

Optional. Controls whether the widget is in the read-only mode

Usage

readonly?: boolean;

Parameters

The property values are the following:

  • true - the read-only mode is enabled
  • false - (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} />