BNA8/.resources/b6ac64c10aa035a00000d51da83516c22d2e2ba9d1a54a9221fc46912f0d989d

111 lines
2.5 KiB
Plaintext

{
"custom": {},
"params": {},
"props": {
"defaultSize": {
"height": 920
}
},
"root": {
"children": [
{
"meta": {
"name": "PDFViewer"
},
"position": {
"height": 1,
"width": 1
},
"propConfig": {
"props.page": {
"onChange": {
"enabled": null,
"script": "\tmaxCount \u003d self.props.pageCount\n\tcurrentPage \u003d currentValue.value\n\tif currentPage \u003c 1:\n\t\tself.props.page \u003d maxCount\n\t\n\tif currentPage \u003e maxCount:\n\t\tself.props.page \u003d 1"
}
}
},
"props": {
"page": 1,
"pageCount": 32,
"source": "\\Description of Operations - Amazon BNA8.pdf",
"style": {
"overflow": "hidden"
}
},
"type": "ia.display.pdf-viewer"
},
{
"events": {
"dom": {
"onClick": {
"config": {
"script": "\tself.getSibling(\"PDFViewer\").props.page -\u003d1"
},
"scope": "G",
"type": "script"
}
}
},
"meta": {
"name": "Icon_0",
"tooltip": {
"enabled": true,
"text": "Previous Page"
}
},
"position": {
"height": 0.043,
"width": 0.0587,
"x": 0.4217,
"y": 0.9451
},
"props": {
"path": "material/arrow_back",
"style": {
"cursor": "pointer"
}
},
"type": "ia.display.icon"
},
{
"events": {
"dom": {
"onClick": {
"config": {
"script": "\tself.getSibling(\"PDFViewer\").props.page +\u003d1"
},
"scope": "G",
"type": "script"
}
}
},
"meta": {
"name": "Icon_1",
"tooltip": {
"text": "Next Page"
}
},
"position": {
"height": 0.043,
"width": 0.0587,
"x": 0.5439,
"y": 0.9451
},
"props": {
"path": "material/arrow_forward",
"style": {
"cursor": "painter"
}
},
"type": "ia.display.icon"
}
],
"meta": {
"name": "root"
},
"props": {
"mode": "percent"
},
"type": "ia.container.coord"
}
}