App Frame Component
This class combines the configuration and the core rendering of the appFrame.
You can configure the content of the following sections
brand
header
actions
navigation
content
complementary (only rendered if defined)
tablist (only rendered if defined)
In addition to that you can define how the sidebarToggle on small screens is rendered. By default is a hamburger-button.
The rendering function is used by the component factory functions appFrame, so it is not meant to be called directly unless you plan to implement your own appFrame.
Constructors
AppFrameComponent
Link copied to clipboard
fun AppFrameComponent()
Content copied to clipboard
Types
Functions
actions
Link copied to clipboard
fun actions(styling: Style<BoxParams>? = null, baseClass: StyleClass = StyleClass.None, id: String? = null, context: Tag<HTMLElement>.() -> Unit)
Content copied to clipboard
brand
Link copied to clipboard
fun brand(styling: Style<FlexParams>? = null, baseClass: StyleClass = StyleClass.None, id: String? = null, context: Tag<HTMLElement>.() -> Unit)
Content copied to clipboard
complementary
Link copied to clipboard
fun complementary(styling: Style<BoxParams>? = null, baseClass: StyleClass = StyleClass.None, id: String? = null, context: Tag<HTMLElement>.() -> Unit)
Content copied to clipboard
content
Link copied to clipboard
fun content(styling: Style<BoxParams>? = null, baseClass: StyleClass = StyleClass.None, id: String? = null, context: Tag<HTMLElement>.() -> Unit)
Content copied to clipboard
header
Link copied to clipboard
fun header(styling: Style<FlexParams>? = null, baseClass: StyleClass = StyleClass.None, id: String? = null, context: Tag<HTMLElement>.() -> Unit)
Content copied to clipboard
mobileSidebarWidth
Link copied to clipboard
navigation
Link copied to clipboard
fun navigation(styling: Style<BoxParams>? = null, baseClass: StyleClass = StyleClass.None, id: String? = null, context: Tag<HTMLElement>.() -> Unit)
Content copied to clipboard
sidebarWidth
Link copied to clipboard
tablist
Link copied to clipboard
fun tablist(styling: Style<FlexParams>? = null, baseClass: StyleClass = StyleClass.None, id: String? = null, context: Tag<HTMLElement>.() -> Unit)
Content copied to clipboard
Properties
closeButtonIcon
Link copied to clipboard
open override val closeButtonIcon: ComponentProperty<Icons.() -> IconDefinition>
Content copied to clipboard
closeButtonPrefix
Link copied to clipboard
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
closeSidebar
Link copied to clipboard
hasCloseButton
Link copied to clipboard
sidebarToggle
Link copied to clipboard