-
Notifications
You must be signed in to change notification settings - Fork 3
/
temp.json
20 lines (20 loc) · 887 Bytes
/
temp.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
"content": [
{
"id": "dvgnxb",
"name": "code",
"parent": 0,
"children": [],
"settings": {
"code": "<script>\n\tconst pixaBricks = () => {\n\t\treturn {\n\t\timages: [],\n\t\tcurrentImage: {},\n\t\tq: \"\",\n\t\timage_type: \"\",\n\t\tpage: \"\",\n\t\tper_page: 200,\n\t\tqueryImages: async function() {\n\t\t\tconst response = await fetch(`https://pixabay.com/api/?key=${API_KEY}&q=${this.q}&image_type=${this.image_type}&per_page=${this.per_page}`);\n\t\t\tconst data = await response.json();\n\t\t\tthis.images = data.hits;\n\t\t}\n\t}\n};\n</script>",
"executeCode": true,
"noRoot": true
},
"label": "<script> App Logic",
"themeStyles": []
}
],
"source": "bricksCopiedElements",
"sourceUrl": "https://docs.structeezy.com/tutorials/pixabricks/",
"version": "1.9.7.1"
}