Reference
Nodes
Resources
Browser

Browser Resource

The Browser Resource provides access to essential web browser APIs.

Actions

Navigate to Page

Navigates the browser to another page.

ParameterTypeDefault
pathstringundefined
targetAnchorElementTargetTypes ("_self" | "_blank" | "_parent" | "_top")_self

Download File from URL

Downloads a file from a specified URL.

ParameterTypeDefault
urlstringundefined

Copy to Clipboard

Copies text to the clipboard.

ParameterTypeDefault
clipboardTextstringundefined

Pop a toast

Displays a floating informational element at the bottom of the screen

ParameterTypeDefault
messagestringundefined
variantToastVariants ("primary" | "secondary" | "success" | "error" | "warning" | "info")primary
dismissButtonstringundefined
durationnumber5000

Open a dialog

Opens a dialog containing a Component to render

ParameterTypeDefault
isVisiblebooleantrue
isEnabledbooleantrue
tooltipstringundefined
topnumber1
leftnumber1
widthstring128px
minWidthstringundefined
maxWidthstringundefined
heightstring32px
minHeightstringundefined
maxHeightstringundefined
overflowOverflow ("auto" | "visible" | "hidden" | "scroll")auto
overflowXOverflow ("auto" | "visible" | "hidden" | "scroll")auto
overflowYOverflow ("auto" | "visible" | "hidden" | "scroll")auto
stylesstring::component {}
objectFitObjectFit ("none" | "contain" | "cover" | "fill" | "scale-down")cover
component(string | null)undefined
componentPropsobject{}
isDismissiblebooleantrue

Close a dialog

Closes a dialog

ParameterTypeDefault
isVisiblebooleantrue
isEnabledbooleantrue
tooltipstringundefined
topnumber1
leftnumber1
widthstring128px
minWidthstringundefined
maxWidthstringundefined
heightstring32px
minHeightstringundefined
maxHeightstringundefined
overflowOverflow ("auto" | "visible" | "hidden" | "scroll")auto
overflowXOverflow ("auto" | "visible" | "hidden" | "scroll")auto
overflowYOverflow ("auto" | "visible" | "hidden" | "scroll")auto
stylesstring::component {}
objectFitObjectFit ("none" | "contain" | "cover" | "fill" | "scale-down")cover
dialogIdstringundefined

Soft Refresh Page

Refreshes all page state as if the browser reloaded

ParameterTypeDefault