Placeholder Tests
This page is for smoke testing the Placeholders feature of CustardUI.
I like eating \[[ fruit ]]:
The placeholder should be populated with the default fruit tab even when visiting from a incognito window or new page.
Given username is: \[[ username ? $ : None ]]
[[ username ? $ : None ]]Given username* is: \[[ username* ? $ : None ]]
[[ username* ? $ : None ]]placeholderTest placeholder TestsTest default, fallback empty, fallback value, truthy falsly.
\[[placeholderTest]]: [[placeholderTest]]\[[placeholderTest : ]]: [[ placeholderTest : ]]\[[placeholderTest* : ]]: [[ placeholderTest* : ]]\[[placeholderTest : fallback]]: [[placeholderTest : fallback]]\[[placeholderTest* : fallback]]: [[placeholderTest* : fallback]]\[[placeholderTest ? Truth : Falsy]]: [[placeholderTest ? Truth : Falsy]]\[[placeholderTest* ? Truth : Falsy]]: [[placeholderTest* ? Truth : Falsy]]<cv-toggle placeholder-id="placeholderTest">Welcome, \[[placeholderTest]]!</cv-toggle>
<cv-toggle placeholder-id="placeholderTest*">Welcome, \[[placeholderTest]]!</cv-toggle>