From 9b208bf297fc60a66fa378a8e9d497862b3ee3f8 Mon Sep 17 00:00:00 2001 From: sdezza <30461090+sdezza@users.noreply.github.com> Date: Mon, 26 Feb 2024 11:24:02 +0100 Subject: [PATCH] docs(modal): mention how to programatically close (#1423) --- docs/content/2.components/modal.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/content/2.components/modal.md b/docs/content/2.components/modal.md index b2a63bcc2c..acb939c236 100644 --- a/docs/content/2.components/modal.md +++ b/docs/content/2.components/modal.md @@ -79,6 +79,8 @@ Then, you can use the `useModal` composable to control your modals within your a :component-example{component="modal-example-composable"} +Additionally, you can close the modal within the modal component by calling `modal.close()`. + ## Props :component-props