From 82e5e28d017f3a95a894c4e75892c586d40dff8f Mon Sep 17 00:00:00 2001 From: Andrew Scott Date: Thu, 1 Feb 2024 10:35:45 -0800 Subject: [PATCH] docs: fix broken anchor --- docs/stacks/vue/layers/viewmodels.md | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/docs/stacks/vue/layers/viewmodels.md b/docs/stacks/vue/layers/viewmodels.md index 6b01f8b84..f418d4e33 100644 --- a/docs/stacks/vue/layers/viewmodels.md +++ b/docs/stacks/vue/layers/viewmodels.md @@ -199,7 +199,7 @@ When set to false, all property dirty flags are cleared. When set to true, all p $startAutoSave(vue: Vue, options: AutoSaveOptions = {})   // Vue Composition API -$useAutoSave(options: AutoSaveOptions = {})" lang="ts" idPrefix="member-autosave" /> +$useAutoSave(options: AutoSaveOptions = {})" lang="ts" id="member-item-autosave" /> Starts auto-saving of the instance when its savable data properties become dirty. Saves are performed with the `$save` [API Caller](/stacks/vue/layers/api-clients.md#api-callers) (documented above) and will not be performed if the ViewModel has any validation errors - see [Rules/Validation](/stacks/vue/layers/viewmodels.md#rules-validation) below. @@ -391,7 +391,7 @@ Shorthand for `$load.pageCount` - returns the page count reported by the last su $startAutoLoad(vue: Vue, options: AutoLoadOptions = {})   // Vue Composition API -$useAutoLoad(options: AutoLoadOptions = {})" lang="ts" idPrefix="member-autoLoad" /> +$useAutoLoad(options: AutoLoadOptions = {})" lang="ts" id="member-list-autoLoad" /> Starts auto-loading of the list as changes to its parameters occur. Loads are performed with the `$load` [API Caller](/stacks/vue/layers/api-clients.md#api-callers). @@ -422,15 +422,20 @@ Manually turns off auto-loading of the instance. $startAutoSave(vue: Vue, options: AutoSaveOptions = {})   // Vue Composition API -$useAutoSave(options: AutoSaveOptions = {})" lang="ts" idPrefix="list-autosave" /> +$useAutoSave(options: AutoSaveOptions = {})" lang="ts" id="member-list-autosave" /> -Enables auto-save for the items in the list, propagating to new items as they're added or loaded. See [ViewModel auto-save documentation](#member-autosave) for more details. +Enables auto-save for the items in the list, propagating to new items as they're added or loaded. See [ViewModel auto-save documentation](#member-item-autosave) for more details. Turns off auto-saving of the items in the list, and turns of propagation of auto-save to any future items if auto-save was previously turned on for the list. Only affects items that are currently in the list's `$items`. + + +Returns true if auto-save is currently active on the instance. + + ### Generated Members