Package [root]

Types

NavLinkComponent
Link copied to clipboard
js
@ExperimentalCoroutinesApi()
open class NavLinkComponent : Component<Listener<MouseEvent>>
This class combines the configuration and the core rendering of an appFrame navigation-link.
SelectFieldComponent
Link copied to clipboard
js
open class SelectFieldComponent<T>(items: List<T>, store: Store<T>?) : Component<Unit> , InputFormProperties, SeverityProperties
This class offers configuration for a selectField element:
  • element size

  • placeholder text

  • icon

  • predefined styling variants

  • the text which is shown -> label

  • disabling the element

The functional expression `build`, which is the last parameter of the factory function, offers an initialized instance of this SelectFieldComponent class as receiver, so every mutating method can be called for configuring the desired state for rendering the selectField.

Functions

navLink
Link copied to clipboard
js
@ExperimentalCoroutinesApi()
fun RenderContext.navLink(styling: BasicParams.() -> Unit = {}, baseClass: StyleClass = StyleClass.None, id: String? = null, prefix: String = "navlink", build: NavLinkComponent.() -> Unit = {}): Listener<MouseEvent>
This component generates a navigation link inside the appFrame's sidebar.
navSection
Link copied to clipboard
js
@ExperimentalCoroutinesApi()
fun RenderContext.navSection(text: String, styling: BasicParams.() -> Unit = {}, baseClass: StyleClass = StyleClass.None, id: String? = null, prefix: String = "navsection")
This component generates a navigation section header inside the appFrame's sidebar.
selectField
Link copied to clipboard
js
fun <T> RenderContext.selectField(styling: BasicParams.() -> Unit = {}, items: List<T>, store: Store<T>? = null, baseClass: StyleClass = StyleClass.None, id: String? = null, prefix: String = "selectField", build: SelectFieldComponent<T>.() -> Unit)
This function generates a selectField element.