From ea7de2eb70b02c3a20e358ef9536be3bb7996333 Mon Sep 17 00:00:00 2001 From: Cory LaViska Date: Tue, 20 Dec 2022 18:44:57 -0500 Subject: [PATCH] document slots --- src/components/select/select.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/components/select/select.ts b/src/components/select/select.ts index b029160f..9b53b60b 100644 --- a/src/components/select/select.ts +++ b/src/components/select/select.ts @@ -28,8 +28,12 @@ import type { CSSResultGroup } from 'lit'; * @dependency sl-icon * @dependency sl-popup * - * @slot - The select's options in the form of menu items. + * @slot - The listbox options. Must be `` elements. You can use `` to group items visually. + * @slot label - The input's label. Alternatively, you can use the `label` attribute. + * @slot prefix - Used to prepend a presentational icon or similar element to the combobox. + * @slot clear-icon - An icon to use in lieu of the default clear icon. * @slot expand-icon - The icon to show when the control is expanded and collapsed. Rotates on open and close. + * @slot help-text - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute. * * @event sl-change - Emitted when the control's value changes. * @event sl-clear - Emitted when the control's value is cleared.