On this page
API Reference

Link is a navigation component that helps users achieve quick routing functions within pages. It also opens external links in a new window for access.

import { Meta } from "wis/meta"

API Reference#

NameTypeDefaultDescription
inversebooleanNoneSet to invert the color
disabledbooleanNoneSet to disabled status
textstringNoneThe text information displayed for the link
hrefstringNoneThe link address, which can be an internal routing short address or an external address
redirectbooleanNoneThe jump method is redirection, which will replace the current address.
onClick(event: MouseEvent<HTMLAnchorElement>) => voidNoneThe event handler called when the link is clicked.