Close Button Mixin
class CloseButtonMixin(val closeButtonPrefix: String = "close-button", defaultStyle: Style<BasicParams>) : CloseButtonProperty
Content copied to clipboard
Default implementation of the CloseButtonProperty interface in order to apply this as mixin for a component
Parameters
close Button Prefix
the prefix for the generated CSS class
default Style
define the default styling of the button fitting for the implementing component needs (the placement within the component's space for example)
Constructors
Link copied to clipboard
fun CloseButtonMixin(closeButtonPrefix: String = "close-button", defaultStyle: Style<BasicParams>)
Content copied to clipboard
Properties
Link copied to clipboard
open override val closeButtonIcon: ComponentProperty<Icons.() -> IconDefinition>
Content copied to clipboard
Link copied to clipboard
open override val closeButtonRendering: ComponentProperty<RenderContext.() -> DomListener<MouseEvent, HTMLElement>>
Content copied to clipboard
Link copied to clipboard
open override val closeButtonStyle: ComponentProperty<Style<BasicParams>>
Content copied to clipboard