RML Controls: Difference between revisions

MjnMixael (talk | contribs)
Created page with "{{RML}} Controls are used to allow dragging are tabbing elements. ==<handle>== The <handle> element can be used to move or change the size of elements. ===Attributes=== ====..."
 
MjnMixael (talk | contribs)
Replaced content with "{{SCPUI moved|https://github.com/MjnMixael/SCPUI/wiki/RML-Controls}}"
Tag: Replaced
 
Line 1: Line 1:
{{RML}}
{{SCPUI moved|https://github.com/MjnMixael/SCPUI/wiki/RML-Controls}}
Controls are used to allow dragging are tabbing elements.
==<handle>==
The <handle> element can be used to move or change the size of elements.
 
===Attributes===
 
====move_target====
If specified, the handle will move the element specified by the ID when dragged. Can be #document to reference the parent document.
====size_target====
If specified, the handle will size the element specified by the ID when dragged. Can be #document to reference the parent document.
<pre>
<handle move_target="#document">
<div id="title">My document</div>
</handle>
</pre>
==<tabset>==
A <tabset> element contains <tab> elements and <panel> elements.
 
===<tab>===
Each <tab> element acts as a button, that when clicked will hide the currently visible panel and show its corresponding panel.
 
===<panel>===
A <panel> element is the body of the tabset. The visibility of the panel is controlled by the tab elements in the parent tabset.

Latest revision as of 18:32, 28 October 2026

This page has moved. SCPUI documentation now lives on the SCPUI GitHub wiki.
See the new version of this page. The old content is still available in this page's history.