Allows for sections of a Page to be Collapsable
The Collapser Widget, when placed on a page, provides the functionality for making the following element collapsible.
This allows for an Element to be hidden until the Widget is clicked on, which is particularly useful for showing extra information only when required
An updated version to the original Collapser widget by Dylan Jones (full credit to them for the idea and original code https://community.netcall.com/appshare/i/page-element-collapser/ ).
This widget makes the following widget (or whole container with multiple widgets inside) collapsible. Useful for showing extra information only when required.
The updated version now supports:
– All types of widgets (including lists)
– Session storage (expanded state is stored when navigating away and back to a page)
– Two types of theming (original version + default Create collapsible heading)
The updated version now supports:
– Static Title or Dynamic
– Collapse one or more Page Cells which follow. (v2)
– Start Collapsed or Expanded (v2)
– Optionally (v2) remembers state using session storage
– Set Background Colour
– Rounded Corners
– Updated for lists
I was looking for something exactly like this, but with the functionality to add conditional formatting to the title.
Really handy! On 2022.1 which may be the cause of these problems for me but if the dynamic title field is not working, edit main.js and within "title" settings remove the "Some Heading" default value. Also to allow you to target the hidden widget within a stylesheet (so you do not inadvertently change hidden elements from the H4 collapsible element), in frontend.js add your custom class (alongside .hidden_collapse)
Had to make a small tweak to how it finds the next page cell as it wasn't working if the next cell was a list, but after that it made my list of lists page much neater - Good work!
Very useful. We were discussing this recently. Thanks!
Please login to write a review.