-- ftd.color green: green
dark: green
-- ftd.color red: red
dark: red
-- ftd.color blue: blue
dark: blue
-- ftd.color grey: grey
dark: grey
-- ftd.color orange: orange
dark: orange
-- boolean iphone: false
-- boolean android: false
-- ftd.column iphone-display:
optional string id:
id: $id
color: $green
open: true
append-at: iphone-id
id: iphone-id
if: $iphone
-- ftd.column desktop-display:
optional string id:
id: $id
color: $red
-- ftd.column android-display:
optional string id:
id: $id
color: $blue
open: true
append-at: android-id
id: android-id
if: $android
-- boolean mobile: true
-- ftd.column foo:
open: true
append-at: some-child
padding-left: 20
id: foo
if: $mobile
id: some-child
if: $mobile
id: some-child
if: not $mobile
id: some-child
-- ftd.column parent:
string id:
caption name:
id: $id
width: fill
open: true
padding-left: 10
text: $name
color: $grey
-- ftd.column items:
caption name:
string price:
string bio:
color: $orange
id: /welcome/
name: $name
id: /Building/
name: $price
id: /ChildBuilding/
name: Awesome Mobile
id: /Building2/
name: $bio
-- ftd.text: Start Display
-- ftd.column:
id: hello
padding-left: 20
-- ftd.text: Show Room
-- ftd.column:
id: kk
padding-left: 30
-- ftd.text: Welcome!!
-- foo:
-- items: Mobile 1
price: Rs. 340
bio: Good Mobile 1
-- items: Mobile 2
price: Rs. 350
bio: Good Mobile 2
-- container: ftd.main
-- ftd.text: end of display
-- ftd.text: Click here!
$on-click$: toggle $mobile
-- ftd.text: Click here Android!
$on-click$: toggle $android
-- ftd.text: Click here iPhone!
$on-click$: toggle $iphone