Create methods page |
NewTab, NewActiveTab, NewTabWithContent |
||
Line 1: | Line 1: | ||
All methods listed here are accessible through slot [[Component:DynamicReferenceVariable|Dynamic Reference Variables]] named <code>Manager/Method.<i>name</i></code>. | All methods listed here are accessible through slot [[Component:DynamicReferenceVariable|Dynamic Reference Variables]] named <code>Manager/Method.<i>name</i></code>. | ||
=== NewTab, NewActiveTab === | |||
{| class="wikitable" | |||
|+Context | |||
|- | |||
! Name !! Type !! !! Purpose | |||
|- | |||
| <code>Print</code> || {{Template:TypeColorCard|Slot}} || Required || The print to create a new tab on. | |||
|} | |||
{| class="wikitable" | |||
|+Result | |||
|- | |||
! Name !! Type !! Purpose | |||
|- | |||
| <code>Manager/Local.Result</code> || {{Template:TypeColorCard|Slot}} || The created tab. | |||
|} | |||
=== NewTabWithContent === | |||
The tab content holder is created directly under the provided pack target slot. | |||
{| class="wikitable" | |||
|+Context | |||
|- | |||
! Name !! Type !! !! Purpose | |||
|- | |||
| <code>Print</code> || {{Template:TypeColorCard|Slot}} || Required || The print to create a new tab on. | |||
|- | |||
| <code>Content</code> || {{Template:TypeColorCard|Slot}} || Required || The content slot of the tab. | |||
|- | |||
| <code>PackTarget</code> || {{Template:TypeColorCard|Slot}} || Optional || Where the tab is parented to. | |||
|} | |||
{| class="wikitable" | |||
|+Result | |||
|- | |||
! Name !! Type !! Purpose | |||
|- | |||
| <code>Manager/Local.Result</code> || {{Template:TypeColorCard|Slot}} || The created tab. | |||
|} | |||
=== Snap === | === Snap === |
Revision as of 16:01, 4 August 2025
All methods listed here are accessible through slot Dynamic Reference Variables named Manager/Method.name
.
NewTab, NewActiveTab
Name | Type | Purpose | |
---|---|---|---|
Print |
Slot |
Required | The print to create a new tab on. |
Name | Type | Purpose |
---|---|---|
Manager/Local.Result |
Slot |
The created tab. |
NewTabWithContent
The tab content holder is created directly under the provided pack target slot.
Name | Type | Purpose | |
---|---|---|---|
Print |
Slot |
Required | The print to create a new tab on. |
Content |
Slot |
Required | The content slot of the tab. |
PackTarget |
Slot |
Optional | Where the tab is parented to. |
Name | Type | Purpose |
---|---|---|
Manager/Local.Result |
Slot |
The created tab. |
Snap
Name | Type | Purpose | |
---|---|---|---|
Print |
Slot |
Required | The print to snap to. |
Target |
Slot |
Required | Object to snap to the print. |
Name | Type | Purpose |
---|---|---|
Manager/Local.Result |
String |
Default , Drop , Handled .
|