FTD
We at FifthTry suggest below practices to be followed while writing your .ftd
files.
Following below practices will help you reduce, build errors and aviod code mess .ftd
files.
caption
When creating a new component, see if you can use caption
as the type of one of the arguments.
body
When creating a component see if one of the parameters can be of type body
.
body
should be used for free form texts, possibly spanning multiple paragraphs.
colon :
:
in each declaration. e.g. -- ftd.text:
ftd
components.ftd
variables firstftd
variables first while creating new component. e.g. below-- ftd.column my-ftd-component: boolean show-bar: false string marktext: string blah: integer number: width: fill background-color: $fpm.color.main.background.base