We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 40ccef7 commit a141835Copy full SHA for a141835
README.md
@@ -19,6 +19,13 @@ export const app = createSSRApp(App)
19
Then, somewhere in your app use the `<modal-stack />` component (automatically
20
registered) where you want your _modals_ to be mounted.
21
22
+The `<modal-stack />` component emits a few events, all with a single parameter
23
+indicating whether modals are currently active or not:
24
+
25
+* `modalCreated`: emitted every time a modal is created.
26
+* `modalDismissed`: emitted every time a modal is dismissed.
27
+* `modals`: emitted every time a modal is created or dismissed.
28
29
A modal component might look like somewhat like this:
30
31
```html
0 commit comments