Component:HyperlinkOpenDialog: Difference between revisions

From Resonite Wiki
Automated: create new component page
 
mNo edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{UserspaceComponent}}
{{Infobox Component
{{Infobox Component
|Image=HyperlinkOpenDialogComponent.png
|Image=HyperlinkOpenDialogComponent.png
|Name=Hyperlink Open Dialog
|Name=Hyperlink Open Dialog
}}
}}
{{stub}}
The '''HyperlinkOpenDialog''' component shows in user space as a UIX when the user clicks on a [[Component:Hyperlink|HyperLink]] component.


== Usage ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|URL|Uri|
|URL|Uri| The url being accessed.
|_hyperlinkText|'''[[Component:Text|Text]]'''|TypeAdv1=true|
|_hyperlinkText|'''[[Component:Text|Text]]'''|TypeAdv1=true| The text to fill with what is being accessed.
|_reasonText|'''[[Component:Text|Text]]'''|TypeAdv2=true|
|_reasonText|'''[[Component:Text|Text]]'''|TypeAdv2=true| The text to show the reason for the link dialog showing.
|_openButton|'''[[Component:Button|Button]]'''|TypeAdv3=true|
|_openButton|'''[[Component:Button|Button]]'''|TypeAdv3=true| The button to open the link in <code>URL</code> using the user's OS default browser.
}}
 
== Sync Delegates ==
{{Table ComponentTriggers
|Cancel:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| Cancel and don't open the link.
|Open:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| Open the requested link.
}}
}}


== Behavior ==
== Usage ==
Not used directly by the user.


== Examples ==
== Examples ==
The grant access dialogue when clicking on a link.


== See Also ==
== See Also ==
* [[Component:Hyperlink]]


[[Category:Components:Uncategorized{{#translation:}}|Hyperlink Open Dialog]]
[[Category:Components:Uncategorized{{#translation:}}|Hyperlink Open Dialog]]
[[Category:Components{{#translation:}}|Hyperlink Open Dialog]]
[[Category:Components{{#translation:}}|Hyperlink Open Dialog]]
[[Category:ComponentStubs]]

Latest revision as of 18:25, 3 April 2025

This is a userspace component — you cannot attach it anywhere but the userspace. Messing with the userspace can be fun, but it is not recommended as you risk messing your dash up if you don't know what you're doing.
Component image 
File:HyperlinkOpenDialogComponent.png
Hyperlink Open Dialog component as seen in the Scene Inspector

The HyperlinkOpenDialog component shows in user space as a UIX when the user clicks on a HyperLink component.

Fields

Fields
Name Type Description
persistent Bool Determines whether or not this item will be saved to the server.
UpdateOrder Int Controls the order in which this component is updated.
Enabled Bool Controls whether or not this component is enabled. Some components stop their functionality when this field is disabled, but some don't.
URL Uri The url being accessed.
_hyperlinkText Text The text to fill with what is being accessed.
_reasonText Text The text to show the reason for the link dialog showing.
_openButton Button The button to open the link in URL using the user's OS default browser.

Sync Delegates

Triggers
Method Name Method type and Arguments. Is the method hidden? Description
Cancel:ButtonEventHandler ButtonEventHandler Cancel and don't open the link.
Open:ButtonEventHandler ButtonEventHandler Open the requested link.

Usage

Not used directly by the user.

Examples

The grant access dialogue when clicking on a link.

See Also