Package-level declarations

Functions

Link copied to clipboard
fun augmentLinks(element: HTMLElement = document.documentElement)

Augments all links (<a> elements) within the specified HTML element (or the entire document if no element is provided) to use the global router for navigation instead of performing a full page reload.

Link copied to clipboard
@Composable
fun IComponent.navLink(href: String? = null, label: String? = null, icon: String? = null, target: String? = null, hide: Boolean = false, replace: Boolean = false, className: String? = null, id: String? = null, content: @Composable IA.() -> Unit = {})

Creates a A component with router support.

Link copied to clipboard
@Composable
fun IComponent.navLinkRef(href: String? = null, label: String? = null, icon: String? = null, target: String? = null, hide: Boolean = false, replace: Boolean = false, className: String? = null, id: String? = null, content: @Composable IA.() -> Unit = {}): A

Creates a A component with router support, returning a reference.