Close Button Mixin
class CloseButtonMixin(closeButtonPrefix: String, 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
closeButtonPrefix
the prefix for the generated CSS class
defaultStyle
define the default styling of the button fitting for the implementing component needs (the placement within the component's space for example)
Constructors
CloseButtonMixin
Link copied to clipboard
fun CloseButtonMixin(closeButtonPrefix: String = "close-button", defaultStyle: Style<BasicParams>)
Content copied to clipboard
the prefix for the generated CSS class
Functions
Properties
closeButtonIcon
Link copied to clipboard
open override val closeButtonIcon: ComponentProperty<Icons.() -> IconDefinition>
Content copied to clipboard
closeButtonPrefix
Link copied to clipboard
the prefix for the generated CSS class
closeButtonRendering
Link copied to clipboard
open override val closeButtonRendering: ComponentProperty<RenderContext.() -> DomListener<MouseEvent, HTMLElement>>
Content copied to clipboard
closeButtonStyle
Link copied to clipboard
open override val closeButtonStyle: ComponentProperty<Style<BasicParams>>
Content copied to clipboard
hasCloseButton
Link copied to clipboard