-
Notifications
You must be signed in to change notification settings - Fork 126
/
index.json
106 lines (106 loc) · 2.52 KB
/
index.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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
{
"$jason": {
"head": {
"title": "Barcode Testing with inline update",
"actions": {
"$vision.ready": {
"trigger": "qr"
},
"$load": {
"type": "$set",
"options": {
"content": "Scanning..."
},
"success": {
"type": "$render"
}
},
"$vision.onscan": {
"type": "$set",
"options": {
"content": "{{$jason.content}}"
},
"success": {
"type": "$render",
"success": {
"type": "$timer.start",
"options": {
"interval": "1",
"name": "timer1",
"action": {
"trigger": "qr2"
}
}
}
}
},
"qr": {
"type": "$set",
"options": {
"content": "Scanning..."
},
"success": {
"type": "$vision.scan",
"success": {
"type": "$render"
}
}
},
"qr2": {
"type": "$vision.scan",
"options": {
"type": "qrcode"
}
}
},
"templates": {
"body": {
"header": {
"menu": {
"text": "View JSON",
"href": {
"url": "https://github.com/Jasonette/Jasonpedia/blob/gh-pages/action/vision/index.json",
"view": "web"
}
}
},
"style": {
"border": "none"
},
"background": {
"type": "camera",
"options": {
"device": "back"
}
},
"sections": [
{
"items": [
{
"type": "vertical",
"href": {
"url": "{{$get.content}}",
"transition": "modal"
},
"components": [
{
"type": "label",
"text": "{{$get.content}}",
"style": {
"color": "#ffffff",
"font": "Courier",
"size": "16",
"padding": "10",
"background": "rgba(0,0,0,0.2)"
}
}
]
}
]
}
]
}
}
}
}
}