Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
@RequiresOptIn(message = "This API is experimental. It may be changed in the future without notice.", level = RequiresOptIn.Level.WARNING)
annotation class ExperimentalComposeHtmlMaterialApi
Link copied to clipboard
@RequiresOptIn(message = "An `MdListItem` is usually in an `MdList`. This component is exposed and should be used carefully. In most cases try to use the one in `MdListScope` instead.", level = RequiresOptIn.Level.WARNING)
annotation class ExposedMdListApi
Link copied to clipboard

A common scope interface for components extending or wrapping MdItem. See https://github.com/material-components/material-web/blob/main/labs/item/item.ts. More specifically, https://github.com/material-components/material-web/blob/2f150d28414c7b2757bcce54cb102c792d468f96/labs/item/item.ts#L29-L37 and https://github.com/material-components/material-web/blob/2f150d28414c7b2757bcce54cb102c792d468f96/labs/item/item.ts#L58-L59.

Link copied to clipboard
abstract external class InternalSelectElement : HTMLElement
Link copied to clipboard
interface ISlot
Link copied to clipboard
@RequiresOptIn(message = "This API depends on components in the Material Web "labs" directory, which contains experimental features that are not recommended for production. See https://github.com/material-components/material-web/tree/main/labs for more details.", level = RequiresOptIn.Level.WARNING)
annotation class MaterialWebLabsApi
Link copied to clipboard
class MdButtonScope(val elementScope: ElementScope<HTMLElement>) : SlotScope<MdButtonScope.Slot>
Link copied to clipboard
Link copied to clipboard
class MdChipScope(val elementScope: ElementScope<HTMLElement>) : SlotScope<MdChipScope.Slot>
Link copied to clipboard
class MdDialogScope(val elementScope: ElementScope<HTMLElement>) : SlotScope<MdDialogScope.Slot>
Link copied to clipboard
class MdFabScope(val elementScope: ElementScope<HTMLElement>) : SlotScope<MdFabScope.Slot>
Link copied to clipboard
Link copied to clipboard
class MdIconButtonScope(val elementScope: ElementScope<HTMLElement>) : SlotScope<MdIconButtonScope.Slot>
Link copied to clipboard
class MdItemScope(val elementScope: ElementScope<HTMLElement>) : IMdItemScope
Link copied to clipboard
class MdListItemScope(val elementScope: ElementScope<HTMLElement>) : IMdItemScope
Link copied to clipboard
Link copied to clipboard
class MdListScope(val elementScope: ElementScope<HTMLElement>)
Link copied to clipboard
class MdMenuArgs(val anchor: String? = null, val positioning: MenuPositioning? = null, val quick: Boolean? = null, val hasOverflow: Boolean? = null, val open: Boolean? = null, val xOffset: Number? = null, val yOffset: Number? = null, val typeaheadDelay: Number? = null, val anchorCorner: MenuCorner? = null, val menuCorner: MenuCorner? = null, val stayOpenOnOutsideClick: Boolean? = null, val stayOpenOnFocusout: Boolean? = null, val skipRestoreFocus: Boolean? = null, val defaultFocus: MenuDefaultFocus? = null, val attrs: AttrBuilderContext<MdMenuElement>? = null, val content: ContentBuilder<HTMLElement>)
Link copied to clipboard
abstract external class MdMenuElement : HTMLElement
Link copied to clipboard
class MdMenuItemArgs(val disabled: Boolean? = null, val type: MenuItemType? = null, val href: String? = null, val target: String? = null, val keepOpen: Boolean? = null, val selected: Boolean? = null, val typeaheadText: String? = null, val attrs: AttrBuilderContext<HTMLElement>? = null, val content: @Composable MdMenuItemScope.() -> Unit)
Link copied to clipboard
class MdMenuItemScope(val elementScope: ElementScope<HTMLElement>) : IMdItemScope
Link copied to clipboard
class MdNavigationTabScope(val elementScope: ElementScope<HTMLElement>) : SlotScope<MdNavigationTabScope.Slot>
Link copied to clipboard
Link copied to clipboard
class MdSegmentedButtonScope(val elementScope: ElementScope<HTMLElement>) : SlotScope<MdSegmentedButtonScope.Slot>
Link copied to clipboard
class MdSelectOptionScope(val elementScope: ElementScope<HTMLElement>) : IMdItemScope
Link copied to clipboard
class MdSelectScope(val elementScope: ElementScope<HTMLElement>) : SlotScope<MdSelectScope.Slot>
Link copied to clipboard
class MdSubMenuScope(val elementScope: ElementScope<HTMLElement>) : SlotScope<MdSubMenuScope.Slot>
Link copied to clipboard
class MdTabScope(val elementScope: ElementScope<HTMLElement>) : SlotScope<MdTabScope.Slot>
Link copied to clipboard
class MdTextFieldScope(val elementScope: ElementScope<HTMLElement>) : SlotScope<MdTextFieldScope.Slot>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
interface SlotScope<Slot : ISlot>
Link copied to clipboard
object TextareaInputType : InputType.InputTypeWithStringValue

Functions

Link copied to clipboard
fun conventionalRadioGroupAttrs(ariaLabel: String): AttrBuilderContext<*>

This is an experimental API.

Link copied to clipboard
@Composable
fun LabelWithMdSwitch(label: String, disabled: Boolean? = null, selected: Boolean? = null, icons: Boolean? = null, showOnlySelectedIcon: Boolean? = null, required: Boolean? = null, value: String? = null, name: String? = null, form: String? = null, attrs: AttrBuilderContext<HTMLElement>? = null)
Link copied to clipboard
@Composable
fun MdAssistChip(elevated: Boolean? = null, href: String? = null, download: String? = null, target: String? = null, disabled: Boolean? = null, softDisabled: Boolean? = null, alwaysFocusable: Boolean? = null, label: String? = null, hasIcon: Boolean? = null, attrs: AttrBuilderContext<HTMLElement>? = null, content: @Composable MdChipScope.() -> Unit? = null)
Link copied to clipboard
@Composable
fun MdBadge(value: String? = null, attrs: AttrBuilderContext<HTMLElement>? = null, content: ContentBuilder<HTMLElement>? = null)
Link copied to clipboard
@Composable
fun MdBrandedFab(variant: String? = null, size: String? = null, label: String? = null, lowered: Boolean? = null, attrs: AttrBuilderContext<HTMLElement>? = null, content: @Composable MdFabScope.() -> Unit?)
Link copied to clipboard
@Composable
fun MdCheckbox(state: MdCheckboxState, disabled: Boolean? = null, required: Boolean? = null, value: String? = null, name: String? = null, form: String? = null, attrs: AttrBuilderContext<HTMLElement>? = null, content: ContentBuilder<HTMLElement>? = null)
@Composable
fun MdCheckbox(checked: Boolean? = null, disabled: Boolean? = null, indeterminate: Boolean? = null, required: Boolean? = null, value: String? = null, name: String? = null, form: String? = null, attrs: AttrBuilderContext<HTMLElement>? = null, content: ContentBuilder<HTMLElement>? = null)
Link copied to clipboard
@Composable
fun MdChipSet(ariaLabel: String? = null, ariaLabelledBy: String? = null, attrs: AttrBuilderContext<HTMLElement>? = null, content: ContentBuilder<HTMLElement>? = null)
Link copied to clipboard
@Composable
fun MdCircularProgress(value: Number? = null, max: Number? = null, indeterminate: Boolean? = null, fourColor: Boolean? = null, attrs: AttrBuilderContext<HTMLElement>? = null, content: @Composable ElementScope<HTMLElement>.() -> Unit? = null)
Link copied to clipboard
@Composable
fun MdDialog(quick: Boolean? = null, returnValue: String? = null, type: DialogType? = null, noFocusTrap: Boolean? = null, open: Boolean? = null, onCancel: () -> Unit? = null, attrs: AttrBuilderContext<HTMLElement>? = null, content: @Composable MdDialogScope.() -> Unit? = null)
Link copied to clipboard
@Composable
fun MdDivider(inset: Boolean? = null, insetStart: Boolean? = null, insetEnd: Boolean? = null, attrs: AttrBuilderContext<HTMLElement>? = null, content: ContentBuilder<HTMLElement>? = null)
Link copied to clipboard
@Composable
fun MdElevatedButton(disabled: Boolean? = null, href: String? = null, target: String? = null, trailingIcon: Boolean? = null, hasIcon: Boolean? = null, type: String? = null, value: String? = null, name: String? = null, form: String? = null, attrs: AttrBuilderContext<HTMLElement>? = null, content: @Composable MdButtonScope.() -> Unit?)
Link copied to clipboard
@Composable
fun MdElevatedCard(attrs: AttrBuilderContext<HTMLElement>? = null, content: @Composable ElementScope<HTMLElement>.() -> Unit?)
Link copied to clipboard
@Composable
fun MdFab(variant: String? = null, size: String? = null, label: String? = null, lowered: Boolean? = null, attrs: AttrBuilderContext<HTMLElement>? = null, content: @Composable MdFabScope.() -> Unit?)
Link copied to clipboard
@Composable
fun MdFilledButton(disabled: Boolean? = null, href: String? = null, target: String? = null, trailingIcon: Boolean? = null, hasIcon: Boolean? = null, type: String? = null, value: String? = null, name: String? = null, form: String? = null, attrs: AttrBuilderContext<HTMLElement>? = null, content: @Composable MdButtonScope.() -> Unit?)
Link copied to clipboard
@Composable
fun MdFilledCard(attrs: AttrBuilderContext<HTMLElement>? = null, content: @Composable ElementScope<HTMLElement>.() -> Unit?)
Link copied to clipboard
@Composable
fun MdFilledIconButton(disabled: Boolean? = null, flipIconInRtl: Boolean? = null, href: String? = null, target: String? = null, ariaLabelSelected: String? = null, toggle: Boolean? = null, selected: Boolean? = null, type: String? = null, value: String? = null, attrs: AttrBuilderContext<HTMLElement>? = null, content: @Composable MdIconButtonScope.() -> Unit)
Link copied to clipboard
@Composable
fun MdFilledSelect(quick: Boolean? = null, required: Boolean? = null, errorText: String? = null, label: String? = null, noAsterisk: Boolean? = null, supportingText: String? = null, error: Boolean? = null, menuPositioning: SelectMenuPositioning? = null, clampMenuWidth: Boolean? = null, typeaheadDelay: Number? = null, hasLeadingIcon: Boolean? = null, displayText: String? = null, menuAlign: SelectMenuAlign? = null, value: String? = null, selectedIndex: Int? = null, disabled: Boolean? = null, attrs: AttrBuilderContext<MdFilledSelectElement>? = null, content: @Composable MdSelectScope.() -> Unit? = null)
Link copied to clipboard
@Composable
fun MdFilledTextField(disabled: Boolean? = null, error: Boolean? = null, errorText: String? = null, label: String? = null, required: Boolean? = null, value: String? = null, prefixText: String? = null, suffixText: String? = null, hasLeadingIcon: Boolean? = null, hasTrailingIcon: Boolean? = null, supportingText: String? = null, textDirection: String? = null, rows: Int? = null, cols: Int? = null, inputMode: InputMode? = null, max: String? = null, maxLength: Int? = null, min: String? = null, minLength: Int? = null, pattern: String? = null, placeholder: String? = null, readOnly: Boolean? = null, multiple: Boolean? = null, step: String? = null, type: InputType<*>? = null, autocomplete: AutoComplete? = null, attrs: AttrBuilderContext<HTMLElement>? = null, content: @Composable MdTextFieldScope.() -> Unit? = null)
Link copied to clipboard
@Composable
fun MdFilledTonalButton(disabled: Boolean? = null, href: String? = null, target: String? = null, trailingIcon: Boolean? = null, hasIcon: Boolean? = null, type: String? = null, value: String? = null, name: String? = null, form: String? = null, attrs: AttrBuilderContext<HTMLElement>? = null, content: @Composable MdButtonScope.() -> Unit?)
Link copied to clipboard
@Composable
fun MdFilledTonalIconButton(disabled: Boolean? = null, flipIconInRtl: Boolean? = null, href: String? = null, target: String? = null, ariaLabelSelected: String? = null, toggle: Boolean? = null, selected: Boolean? = null, type: String? = null, value: String? = null, attrs: AttrBuilderContext<HTMLElement>? = null, content: @Composable MdIconButtonScope.() -> Unit)
Link copied to clipboard
@Composable
fun MdFilterChip(elevated: Boolean? = null, removable: Boolean? = null, selected: Boolean? = null, hasSelectedIcon: Boolean? = null, disabled: Boolean? = null, softDisabled: Boolean? = null, alwaysFocusable: Boolean? = null, label: String? = null, hasIcon: Boolean? = null, attrs: AttrBuilderContext<HTMLElement>? = null, content: @Composable MdChipScope.() -> Unit? = null)
Link copied to clipboard
@Composable
fun MdIcon(filled: Boolean? = null, attrs: AttrBuilderContext<HTMLElement>?, content: @Composable () -> Unit)
@Composable
fun MdIcon(filled: Boolean? = null, attrs: AttrBuilderContext<HTMLElement>?, materialIconName: String)
Link copied to clipboard
@Composable
fun MdIconButton(disabled: Boolean? = null, flipIconInRtl: Boolean? = null, href: String? = null, target: String? = null, ariaLabelSelected: String? = null, toggle: Boolean? = null, selected: Boolean? = null, type: String? = null, value: String? = null, attrs: AttrBuilderContext<HTMLElement>? = null, content: @Composable MdIconButtonScope.() -> Unit)
Link copied to clipboard
@Composable
fun MdInputChip(avatar: Boolean? = null, href: String? = null, target: String? = null, removeOnly: Boolean? = null, selected: Boolean? = null, disabled: Boolean? = null, softDisabled: Boolean? = null, alwaysFocusable: Boolean? = null, label: String? = null, hasIcon: Boolean? = null, onRemove: () -> Unit? = null, attrs: AttrBuilderContext<HTMLElement>? = null, content: @Composable MdChipScope.() -> Unit? = null)
Link copied to clipboard
@Composable
fun MdItem(multiline: Boolean? = null, attrs: AttrBuilderContext<HTMLElement>? = null, content: @Composable MdItemScope.() -> Unit? = null)
Link copied to clipboard
@Composable
fun MdLinearProgress(buffer: Number? = null, value: Number? = null, max: Number? = null, indeterminate: Boolean? = null, fourColor: Boolean? = null, attrs: AttrBuilderContext<HTMLElement>? = null, content: @Composable ElementScope<HTMLElement>.() -> Unit? = null)
Link copied to clipboard
@Composable
fun MdList(attrs: AttrBuilderContext<HTMLElement>? = null, content: @Composable MdListScope.() -> Unit)
Link copied to clipboard
@Composable
fun MdListItem(disabled: Boolean? = null, type: MdListItemType? = null, href: String? = null, target: String? = null, attrs: AttrBuilderContext<HTMLElement>? = null, content: @Composable MdListItemScope.() -> Unit)
Link copied to clipboard
@Composable
fun MdMenu(anchor: String? = null, positioning: MenuPositioning? = null, quick: Boolean? = null, hasOverflow: Boolean? = null, open: Boolean? = null, xOffset: Number? = null, yOffset: Number? = null, typeaheadDelay: Number? = null, anchorCorner: MenuCorner? = null, menuCorner: MenuCorner? = null, stayOpenOnOutsideClick: Boolean? = null, stayOpenOnFocusout: Boolean? = null, skipRestoreFocus: Boolean? = null, defaultFocus: MenuDefaultFocus? = null, attrs: AttrBuilderContext<MdMenuElement>? = null, content: @Composable ElementScope<MdMenuElement>.() -> Unit? = null)
Link copied to clipboard
@Composable
fun MdMenuItem(disabled: Boolean? = null, type: MenuItemType? = null, href: String? = null, target: String? = null, keepOpen: Boolean? = null, selected: Boolean? = null, typeaheadText: String? = null, attrs: AttrBuilderContext<HTMLElement>? = null, content: @Composable MdMenuItemScope.() -> Unit? = null)
Link copied to clipboard
@Composable
fun MdNavigationBar(activeIndex: Int? = null, hideInactiveLabels: Boolean? = null, attrs: AttrBuilderContext<HTMLElement>? = null, content: @Composable ElementScope<HTMLElement>.() -> Unit?)
Link copied to clipboard
@Composable
fun MdNavigationDrawer(opened: Boolean? = null, pivot: NavigationDrawerPivot? = null, attrs: AttrBuilderContext<HTMLElement>? = null, content: ContentBuilder<HTMLElement>? = null)

From https://m3.material.io/components/navigation-drawer/overview:

Link copied to clipboard
@Composable
fun MdNavigationDrawerModal(opened: Boolean? = null, pivot: NavigationDrawerPivot? = null, attrs: AttrBuilderContext<HTMLElement>? = null, content: ContentBuilder<HTMLElement>? = null)

From https://m3.material.io/components/navigation-drawer/overview:

Link copied to clipboard
@Composable
fun MdNavigationTab(disabled: Boolean? = null, active: Boolean? = null, hideInactiveLabel: Boolean? = null, label: String? = null, badgeValue: String? = null, showBadge: Boolean? = null, attrs: AttrBuilderContext<HTMLElement>? = null, content: @Composable MdNavigationTabScope.() -> Unit?)
Link copied to clipboard
@Composable
fun MdOutlinedButton(disabled: Boolean? = null, href: String? = null, target: String? = null, trailingIcon: Boolean? = null, hasIcon: Boolean? = null, type: String? = null, value: String? = null, name: String? = null, form: String? = null, attrs: AttrBuilderContext<HTMLElement>? = null, content: @Composable MdButtonScope.() -> Unit?)
Link copied to clipboard
@Composable
fun MdOutlinedCard(attrs: AttrBuilderContext<HTMLElement>? = null, content: @Composable ElementScope<HTMLElement>.() -> Unit?)
Link copied to clipboard
@Composable
fun MdOutlinedIconButton(disabled: Boolean? = null, flipIconInRtl: Boolean? = null, href: String? = null, target: String? = null, ariaLabelSelected: String? = null, toggle: Boolean? = null, selected: Boolean? = null, type: String? = null, value: String? = null, attrs: AttrBuilderContext<HTMLElement>? = null, content: @Composable MdIconButtonScope.() -> Unit)
Link copied to clipboard
@Composable
fun MdOutlinedSegmentedButton(disabled: Boolean? = null, selected: Boolean? = null, label: String? = null, noCheckmark: Boolean? = null, hasIcon: Boolean? = null, attrs: AttrBuilderContext<HTMLElement>? = null, content: @Composable MdSegmentedButtonScope.() -> Unit? = null)
Link copied to clipboard
@Composable
fun MdOutlinedSegmentedButtonSet(multiselect: Boolean? = null, attrs: AttrBuilderContext<HTMLElement>? = null, content: ContentBuilder<HTMLElement>? = null)
Link copied to clipboard
@Composable
fun MdOutlinedSelect(quick: Boolean? = null, required: Boolean? = null, errorText: String? = null, label: String? = null, noAsterisk: Boolean? = null, supportingText: String? = null, error: Boolean? = null, menuPositioning: SelectMenuPositioning? = null, clampMenuWidth: Boolean? = null, typeaheadDelay: Number? = null, hasLeadingIcon: Boolean? = null, displayText: String? = null, menuAlign: SelectMenuAlign? = null, value: String? = null, selectedIndex: Int? = null, disabled: Boolean? = null, attrs: AttrBuilderContext<MdOutlinedSelectElement>? = null, content: @Composable MdSelectScope.() -> Unit? = null)
Link copied to clipboard
@Composable
fun MdOutlinedTextField(disabled: Boolean? = null, error: Boolean? = null, errorText: String? = null, label: String? = null, required: Boolean? = null, value: String? = null, prefixText: String? = null, suffixText: String? = null, hasLeadingIcon: Boolean? = null, hasTrailingIcon: Boolean? = null, supportingText: String? = null, textDirection: String? = null, rows: Int? = null, cols: Int? = null, inputMode: InputMode? = null, max: String? = null, maxLength: Int? = null, min: String? = null, minLength: Int? = null, pattern: String? = null, placeholder: String? = null, readOnly: Boolean? = null, multiple: Boolean? = null, step: String? = null, type: InputType<*>? = null, autocomplete: AutoComplete? = null, attrs: AttrBuilderContext<HTMLElement>? = null, content: @Composable MdTextFieldScope.() -> Unit? = null)
Link copied to clipboard
@Composable
fun MdPrimaryTab(inlineIcon: Boolean? = null, isTab: Boolean? = null, active: Boolean? = null, hasIcon: Boolean? = null, iconOnly: Boolean? = null, selected: Boolean? = null, id: String? = null, ariaControls: String? = null, attrs: AttrBuilderContext<HTMLElement>? = null, content: @Composable MdTabScope.() -> Unit? = null)
Link copied to clipboard
@Composable
fun MdRadio(required: Boolean? = null, value: String? = null, checked: Boolean? = null, disabled: Boolean? = null, id: String? = null, attrs: AttrBuilderContext<HTMLElement>? = null, content: ContentBuilder<HTMLElement>? = null)
Link copied to clipboard
@Composable
fun MdSecondaryTab(isTab: Boolean? = null, active: Boolean? = null, hasIcon: Boolean? = null, iconOnly: Boolean? = null, selected: Boolean? = null, id: String? = null, ariaControls: String? = null, attrs: AttrBuilderContext<HTMLElement>? = null, content: @Composable MdTabScope.() -> Unit? = null)
Link copied to clipboard
@Composable
fun MdSelectOption(disabled: Boolean? = null, selected: Boolean? = null, value: String? = null, type: MenuItemType? = null, typeaheadText: String? = null, displayText: String? = null, attrs: AttrBuilderContext<HTMLElement>? = null, content: @Composable MdSelectOptionScope.() -> Unit? = null)

This component actually extends MdMenuItem, but not all its attributes are added here as parameters because they are not conventional in this context. See https://github.com/material-components/material-web/blob/516cbc02bf770b7c3c5c6b546f1e5d81939b9f23/select/select-option.ts#L33-L34 for more details.

Link copied to clipboard
@Composable
fun MdSlider(min: Number? = null, max: Number? = null, value: Number? = null, valueStart: Number? = null, valueEnd: Number? = null, valueLabel: String? = null, valueLabelStart: String? = null, valueLabelEnd: String? = null, ariaLabelStart: String? = null, ariaValueTextStart: String? = null, ariaLabelEnd: String? = null, ariaValueTextEnd: String? = null, step: Number? = null, ticks: Boolean? = null, labeled: Boolean? = null, range: Boolean? = null, disabled: Boolean? = null, attrs: AttrBuilderContext<HTMLElement>? = null, content: ContentBuilder<HTMLElement>? = null)
Link copied to clipboard
@Composable
fun MdSubMenu(anchorCorner: MenuCorner? = null, menuCorner: MenuCorner? = null, hoverOpenDelay: Number? = null, hoverCloseDelay: Number? = null, attrs: AttrBuilderContext<HTMLElement>? = null, content: @Composable MdSubMenuScope.() -> Unit? = null)
@Composable
fun MdSubMenu(anchorCorner: MenuCorner? = null, menuCorner: MenuCorner? = null, hoverOpenDelay: Number? = null, hoverCloseDelay: Number? = null, attrs: AttrBuilderContext<HTMLElement>? = null, mdMenuItemArgs: MdMenuItemArgs, mdMenuArgs: MdMenuArgs)
Link copied to clipboard
@Composable
fun MdSuggestionChip(elevated: Boolean? = null, href: String? = null, download: String? = null, target: String? = null, disabled: Boolean? = null, softDisabled: Boolean? = null, alwaysFocusable: Boolean? = null, label: String? = null, hasIcon: Boolean? = null, attrs: AttrBuilderContext<HTMLElement>? = null, content: @Composable MdChipScope.() -> Unit? = null)
Link copied to clipboard
@Composable
fun MdSwitch(disabled: Boolean? = null, selected: Boolean? = null, icons: Boolean? = null, showOnlySelectedIcon: Boolean? = null, required: Boolean? = null, value: String? = null, name: String? = null, form: String? = null, attrs: AttrBuilderContext<HTMLElement>? = null, content: ContentBuilder<HTMLElement>? = null)
Link copied to clipboard
@Composable
fun MdTabs(autoActivate: Boolean? = null, activeTabIndex: Int? = null, attrs: AttrBuilderContext<HTMLElement>? = null, content: ContentBuilder<HTMLElement>? = null)
Link copied to clipboard
@Composable
fun MdTextButton(disabled: Boolean? = null, href: String? = null, target: String? = null, trailingIcon: Boolean? = null, hasIcon: Boolean? = null, type: String? = null, value: String? = null, name: String? = null, form: String? = null, attrs: AttrBuilderContext<HTMLElement>? = null, content: @Composable MdButtonScope.() -> Unit?)
Link copied to clipboard
fun <T : SyntheticEvent<out EventTarget>> AttrsScope<InternalSelectElement>.onClosed(listener: (T) -> Unit)
fun <T : SyntheticEvent<out EventTarget>> AttrsScope<MdMenuElement>.onClosed(listener: (T) -> Unit)
Link copied to clipboard
fun <T : SyntheticEvent<out EventTarget>> AttrsScope<InternalSelectElement>.onClosing(listener: (T) -> Unit)
fun <T : SyntheticEvent<out EventTarget>> AttrsScope<MdMenuElement>.onClosing(listener: (T) -> Unit)
Link copied to clipboard
fun <T : SyntheticEvent<out EventTarget>> AttrsScope<InternalSelectElement>.onOpened(listener: (T) -> Unit)
fun <T : SyntheticEvent<out EventTarget>> AttrsScope<MdMenuElement>.onOpened(listener: (T) -> Unit)
Link copied to clipboard
fun <T : SyntheticEvent<out EventTarget>> AttrsScope<InternalSelectElement>.onOpening(listener: (T) -> Unit)
fun <T : SyntheticEvent<out EventTarget>> AttrsScope<MdMenuElement>.onOpening(listener: (T) -> Unit)
Link copied to clipboard
external fun require(module: String): dynamic