-
Notifications
You must be signed in to change notification settings - Fork 0
WD ATTR Nav Tool
wdonadelli edited this page Apr 10, 2022
·
2 revisions
The reference for how the attribute works is in the following tools:
The tool's target is the elements identified in it and, if not defined, it will be applied to the element that contains it.
The attribute has the following arguments:
Name | Type | Mandatory | Description |
---|---|---|---|
action | String | No | See the action argument. |
$ or $$ | CSS | No | Defines the tool's targets. |
<nav>
<span data-wd-nav="action{prev}${#tabs}" >←</span>
<span data-wd-nav="${#tab1}" >Tab 1</span>
<span data-wd-nav="${#tab2}" >Tab 2</span>
<span data-wd-nav="${#tab3}" >Tab 3</span>
<span data-wd-nav="action{next}${#tabs}" >→</span>
</nav>
<div id="tabs">
<div id="tab1" style="background-color: #F00000;" >
<h3>Tab 1</h3>
<p>Tab Contents 1.</p>
</div>
<div id="tab2" style="background-color: #ccc;" >
<h3>Tab 2</h3>
<p>Tab Contents 2.</p>
</div>
<div id="tab3" style="background-color: #00F00F;" >
<h3>Tab 3</h3>
<p>Tab Contents 3.</p>
</div>
</div>
- WD Web Libraries | v4.4.4 | 2023-02-22
- Updated on 2023-02-22
- WD JS Array Tools
- WD JS Date Tools
- WD JS DOM Tools
- WD JS Number Tools
- WD JS Text Tools
- WD JS Time Tools
- WD ATTR Chart Tool
- WD ATTR Click Tool
- WD ATTR CSS Tool
- WD ATTR Data Tool
- WD ATTR Device Tool
- WD ATTR Edit Tool
- WD ATTR Filter Tool
- WD ATTR Full Tool
- WD ATTR Jump Tool
- WD ATTR Lang Tool
- WD ATTR Load Tool
- WD ATTR Mask Tool
- WD ATTR Nav Tool
- WD ATTR NoBubbles Tool
- WD ATTR Output Tool
- WD ATTR Page Tool
- WD ATTR Repeat Tool
- WD ATTR Send Tool
- WD ATTR Set Tool
- WD ATTR Shared Tool
- WD ATTR Slide Tool
- WD ATTR Sort Tool
- WD ATTR Tsort Tool
- WD ATTR Translate Tool
- WD ATTR URL Tool
- WD ATTR Vform Tool