Skip to main content

readonly

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 setup>
import { Tasklist } from '@svar-ui/vue-tasklist';
import { value } from './data.js';
</script>

<template>
<Tasklist :value="value" :readonly="true" />
</template>