Skip to content

Commit 1108fa8

Browse files
thejacksheltonGregOnNet
authored andcommitted
docs(modal): note about invokers in the future
1 parent cd87648 commit 1108fa8

File tree

1 file changed

+3
-1
lines changed
  • apps/website/src/routes/docs/headless/(components)/modal

1 file changed

+3
-1
lines changed

apps/website/src/routes/docs/headless/(components)/modal/index.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,9 @@ To open or close the modal, we can use `bind:show`, a custom signal bind that le
103103

104104
The example above opens the modal when the **Open Modal** button is clicked and closes it when a button inside the modal is clicked.
105105

106-
> Custom signal binds are like a remote control for components, controlling states like opening or closing a modal.
106+
> In the future, we may not need to manage state for the opening and closing of dialogs and other UI elements. Here's Open UI's [invoker proposal](https://open-ui.org/components/invokers.explainer/).
107+
108+
Custom signal binds are like a remote control for components, controlling states like opening or closing a modal.
107109

108110
## The Top Layer
109111

0 commit comments

Comments
 (0)