Skip to content

display: none equivalent #655

Discussion options

You must be logged in to vote

If you want to hide an element in ftd, you can use the if condition with an expression that evaluates to false.

Here's an example:

-- ftd.text: Hello
if: { false }

This will prevent the element from being displayed on the page, effectively mimicking the display: none behavior in CSS.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by saurabh-lohiya
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants