Deck Controller Element ⛔
Control and navigate deck elements like Tabs and Sliders
Last updated
Was this helpful?
Control and navigate deck elements like Tabs and Sliders
Last updated
Was this helpful?
The Deck Controller provides simple no-code navigation capabilities using attributes that work across all deck-style elements, including SA5's , . and .
OBSOLETE. The deck controller has been expanded and fully absorbed into our new SA5 handler. It will work very similarly, and continue to be attribute-based but the attribute names will fully change.
Important
wfu-deck-action
= ( method )Required. I want my button or link to perform the following action on the targeted deck element.
Method is one of;
first
- select the first item
prev
- select the previous item
- select the previous item or loop if we're on the first item ( considering )prevLoop
next
- select the next item
- select the next item or loop if we're on the last item ( considering )nextLoop
last
- select the last item
goto
- select the specified item, as specified by wfu-deck-action-item
wfu-deck-target
= ( deck name )Optional. Specifies the wfu-tabs
, wfu-slider
or wfu-accordion
name you want your action to target.
If unspecified, it will look for the nearest parent deck element as the target.
wfu-deck-action-item
= ( item number | name ) Required for the goto
action only. Specifies the tab / slide you want to navigate to.
a number - indicates the item number, 1, 2, 3...
a string - activates the item with the specified name
2024-Feb-04 - First release.
See above for details.
First, add the library as detailed in .