Skip to main content

io.display.link

Displays a button-styled action link to the action user. Can link to an external URL or to another action.

Usage

await io.display.link("Run another action", {
action: "usefulAction",
theme: "danger",
});
interval.com

Props

action

string Optional

Slug of another action to link to. Alternative to `url`.

params

object Optional

Arbitrary key/value pairs to be passed to the given action slug. Only applies when `action` is defined.

theme

"default" | "danger" Optional

Button visual theme.

url

string Optional

Absolute URL to link to external resources.

Returns

null

Did this section clearly explain what you wanted to learn?
On this page