Yes we all know that Webflow has its "Empty" stage for CMS lists in case there's nothing in them, but sometimes you don't want an empty list, there are cases when we just need to get rid of the whole section if there's nothing in them. Well if that's your case this module is for you!
This attribute will define what should be hidden when the collection list is empty.
The element can be a section, container, the collection list wrapper, anything we don't want to show when the collection list is empty.
the collection list MUST be a child element of this element.
This attribute will be checking whether or not the collection list is empty, in case it is it will hide the section completely.
the collection list MUST be a child of the element with the wt-hidecontainer-element="container" attribute.
This attribute will define what should be hidden when the collection list is empty.
The element can be a section, container, the collection list wrapper, anything we don't want to show when the collection list is empty.
the collection list MUST be a child element of this element.
This attribute will be checking whether or not the collection list is empty, in case it is it will hide the section completely.
the collection list MUST be a child of the element with the wt-hidecontainer-element="container" attribute.
Do you need multiple instances of this Attribute?
All of our attributes follow the same structure for multiple instances!
In order to use multiple instances on an attribute add -n at the end of the value of the element attribute. being "n" a unique number.
This unique number is how we can tell between multiple instances.
For example, container-2, trigger-2, and target-2 will all be connected to the same instance.
This is what you need to add multiple instances of this: