Link Button
Display a link button.
Usage
<template>
<CLinkButton forward>
Link button
</CLinkButton>
</template>
Forward & backward arrows
<template>
<CLinkButton forward href="/" label="Example link" />
</template>
Size
<template>
<CLinkButton size="sm" forward href="/" label="Example link" />
</template>
Disabled
<template>
<CLinkButton disabled forward href="/" label="Example link" />
</template>
Props
| Prop | Default | Type |
|---|---|---|
to | string | RouteLocationAsRelativeGeneric | RouteLocationAsPathGeneric
| |
back | boolean | |
disabled | boolean | |
forward | boolean | |
size | 'md' | "md" | "sm" | "lg" |
type | 'button' | "reset" | "submit" | "button" |
label | string | |
custom | false | |
target | null | "_self" | "_blank" | "_parent" | "_top" | string & {} | |
trailingSlash | "append" | "remove" |