back to project page

ChenilleKit Demo V1.0.2

code snippet
<strong t:type="ck/DateFormat" value="dateValue" pattern="yyyy-MM-dd" bodyPosition="0">without body</strong>

<span t:type="ck/TrimmedString" maxLength="10" trimPos="left" value="literal:this ist a very long test string"/>

<span t:type="ck/MaskFormat" mask="###-######-#" value="literal:5556854580"/>
DateFormat samples
Date with body on the left side
today is 22.05.2012
Date with body on the right side
22/05/2012 todays date
Date with discarded body
2012-05-22
TrimmedString samples (trimming string "this ist a very long test string")
trimmed string at position 20
this ist a very long...
trimmed string at position 10
this ist a...
trimmed string at position 20 (left side)
...ery long test string
MaskFormat samples
string '5556854580' with mask '###-######-#' transformed to
555-685458-0
string '5556854' with mask '###-######-#' and placeholder '_' transformed to
555-6854__-_
Footer