From 7f420d9bec066966d1cc717ab0ff09f2cc583e6b Mon Sep 17 00:00:00 2001 From: Eugen Istoc Date: Sat, 1 Mar 2025 05:08:09 -0500 Subject: [PATCH] docs(modal/slideover): update close method in tips to use `emit('close')` (#3421) --- docs/content/3.components/modal.md | 2 +- docs/content/3.components/slideover.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/content/3.components/modal.md b/docs/content/3.components/modal.md index 65315927..9e94eecb 100644 --- a/docs/content/3.components/modal.md +++ b/docs/content/3.components/modal.md @@ -334,7 +334,7 @@ name: 'modal-programmatic-example' :: ::tip -You can close the modal within the modal component by calling `modal.close()`. +You can close the modal within the modal component by emitting `"emit('close')`. :: ### Nested modals diff --git a/docs/content/3.components/slideover.md b/docs/content/3.components/slideover.md index 047f08ed..c8023fb4 100644 --- a/docs/content/3.components/slideover.md +++ b/docs/content/3.components/slideover.md @@ -333,7 +333,7 @@ name: 'slideover-programmatic-example' :: ::tip -You can close the slideover within the slideover component by calling `slideover.close()`. +You can close the slideover within the slideover component by emitting `emit('close')`. :: ### Nested slideovers