JavaScript required
We’re sorry, but Coda doesn’t work properly without JavaScript enabled.
Skip to content
Aeropage Documentation
Documentation
Coming Soon
More
Actions Reference
Show or Hide Blocks
Control the visibility of blocks on the page.
Loading…
In this example, we are assigning the
action to two buttons
to create a toggle effect.
On the Applications button, we add an on-click action causing it to
show
the Applications
block and
hide
the Details
block.
The first icon indicates that we will
ignore
that block.
We do the same with the
Details
button, but of course with the opposite configuration.
To complete the effect we put the buttons into a
Flex Group
and enable
toggle mode
- to show only one button at a time as active.
Finally - a
Set Variable
action to send a custom value to the title when each button is clicked.
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
Ctrl
P
) instead.