pub fn LinkButton(_: LinkButtonProps) -> ElementExpand description
A link drawn as a button, for actions that go somewhere: “View report”, “Back to
projects”. Inside a dioxus-router Router (feature router), an internal href
navigates in-app and is marked current when it is the route being shown.
It stays a link, so it opens in a new tab with a modified click and is announced as
a link. An unavailable link drops its href and carries aria-disabled, since <a>
has no disabled state.
§Props
For details, see the props struct definition.
href:Stringvariant:ButtonVariantsize:ButtonSizeblock:boolicon_label:Option<AccessibleName>Select icon-only layout with a required accessible name.
availability:Availabilityonclick:Option<EventHandler<MouseEvent>>Called as well as navigating, e.g. to close a menu.
class:Option<String>attributes:Vec<Attribute>children:Element