-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathinput.json
59 lines (59 loc) · 1.56 KB
/
input.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
{
"$jason": {
"head": {
"title": "Todo App - Add view",
"actions": {
"$load": {
"type": "$render"
},
"$pull": {
"type": "$global.set",
"options": {
"todos": "{{'todos' in $global ? [{text: $get.todo, done: false, key: $global.current_key+1 }].concat($global.todos) : [{text: $get.todo, done: false, key: 0}] }}",
"current_key": "{{'current_key' in $global ? $global.current_key+1 : 0}}"
},
"success": {
"type": "$back"
}
}
},
"templates": {
"body": {
"header": {
"title": "Swipe down to Save",
"style": {
"background": "#FF9800",
"color": "#ffffff"
}
},
"style": {
"background": "#FF9800",
"color": "#ffffff",
"border": "none"
},
"sections": [
{
"items": [
{
"type": "textarea",
"style": {
"padding": "10",
"size": "30",
"font": "HelveticaNeue",
"color:placeholder": "#ebebeb",
"color": "#ffffff",
"width": "100%",
"height": "400",
"align": "left"
},
"placeholder": "Enter todo",
"name": "todo"
}
]
}
]
}
}
}
}
}