autoApply
autoApply: boolean
this property controls whether the data object is updated immediately after any changes. The default value is false
.
Usage
Enabling immediate data updates
<script>
import { Editor } from "wx-svelte-editor";
</script>
<Editor {items} autoApply={true} />
With autoApply
set to true
, any changes made in the editor will update the items
data object immediately.