Variables · Question 12 of 12

A template with Alpine.js contains x-data="{ open: false }". Fluid 5 should leave the JavaScript code alone but insert the variable label. How is that done?

1 answer is correct. Hard

Show answer

Answer

  • D CDATA and {{{label}}}

Explanation

In a CDATA section Fluid 5 ignores ViewHelper tags and single curly braces. Only expressions with three braces are evaluated, and the CDATA markers themselves are removed.

Certifications & exams

Which exam comes next?

You can already practise for 19 exams, and 21 are up for a vote. See all certifications with their official information, cast your vote or suggest your exam.

See all certifications