diff --git a/docs/components/details.md b/docs/components/details.md index e88845c3a..f6c7654ae 100644 --- a/docs/components/details.md +++ b/docs/components/details.md @@ -26,7 +26,7 @@ Use the `disable` attribute to prevent the details from expanding. ### Grouping Details -Details are designed to function independently, but you can simulate a group or "accordion" where only one is shown at a time by listening for the `slShow` event. +Details are designed to function independently, but you can simulate a group or "accordion" where only one is shown at a time by listening for the `sl-show` event. ```html preview
diff --git a/docs/components/dialog.md b/docs/components/dialog.md index 08c0715ab..2b934813f 100644 --- a/docs/components/dialog.md +++ b/docs/components/dialog.md @@ -84,7 +84,7 @@ By design, a dialog's height will never exceed that of the viewport. As such, di ### Ignoring Clicks on the Overlay -By default, dialogs are closed when the user clicks or taps on the overlay. To prevent this behavior, cancel the `slOverlayDismiss` event. +By default, dialogs are closed when the user clicks or taps on the overlay. To prevent this behavior, cancel the `sl-overlay-dismiss` event. ```html preview diff --git a/docs/components/drawer.md b/docs/components/drawer.md index f23767d77..1ef69b23d 100644 --- a/docs/components/drawer.md +++ b/docs/components/drawer.md @@ -180,7 +180,7 @@ By design, a drawer's height will never exceed 100% of its container. As such, d ### Ignoring Clicks on the Overlay -By default, drawers are closed when the user clicks or taps on the overlay. To prevent this behavior, cancel the `slOverlayDismiss` event. +By default, drawers are closed when the user clicks or taps on the overlay. To prevent this behavior, cancel the `sl-overlay-dismiss` event. ```html preview diff --git a/docs/components/dropdown.md b/docs/components/dropdown.md index 493c3042c..5deb9379e 100644 --- a/docs/components/dropdown.md +++ b/docs/components/dropdown.md @@ -123,7 +123,7 @@ Dropdown panels will be clipped if they're inside a container that has `overflow ### Getting the Selected Item -When dropdowns are used with [menus](/components/menu.md), you can listen for the `slSelect` event to determine which menu item was selected. The menu item element will be exposed in `event.detail.item`. You can set `value` props to make it easier to identify commands. +When dropdowns are used with [menus](/components/menu.md), you can listen for the `sl-select` event to determine which menu item was selected. The menu item element will be exposed in `event.detail.item`. You can set `value` props to make it easier to identify commands. ```html preview