Skip to content

Instantly share code, notes, and snippets.

View xeladotbe's full-sized avatar

Alexander Martin xeladotbe

View GitHub Profile
{
"document": {
"type": "APL",
"version": "1.2",
"import": [
{
"name": "alexa-layouts",
"version": "1.1.0"
}
],
{
"document": {
"type": "APL",
"version": "1.2",
"import": [
{
"name": "alexa-layouts",
"version": "1.1.0"
}
],
@xeladotbe
xeladotbe / refresh-image.json
Last active April 21, 2020 07:58
APL 1.3 refresh image every 30 seconds
{
"type": "APL",
"version": "1.3",
"settings": {
"idleTimeout": 300000
},
"theme": "dark",
"import": [],
"resources": [],
"styles": {},
@keyframes zoomOut {
from {
opacity: 1;
}
50% {
opacity: 0;
-webkit-transform: scale3d(0.3, 0.3, 0.3);
transform: scale3d(0.3, 0.3, 0.3);
}
{
"type": "APL",
"version": "1.3",
"settings": {},
"theme": "dark",
"import": [],
"resources": [],
"styles": {},
"onMount": [],
"graphics": {},
@xeladotbe
xeladotbe / pager.json
Created October 8, 2020 16:55
Simple pager with Navigation Buttons
{
"type": "APL",
"version": "1.4",
"settings": {},
"theme": "dark",
"import": [],
"resources": [],
"styles": {},
"onMount": [],
"graphics": {},
{
"document": {
"type": "APL",
"version": "1.4",
"settings": {},
"theme": "dark",
"import": [],
"resources": [],
"styles": {},
"onMount": [],
{
"document": {
"type": "APL",
"version": "1.4",
"settings": {},
"theme": "dark",
"import": [],
"resources": [],
"styles": {},
"onMount": [],
{
"document": {
"type": "APL",
"version": "1.4",
"settings": {},
"theme": "dark",
"import": [],
"resources": [],
"styles": {},
"onMount": [],
{
"outputSpeech": {
"type": "SSML",
"ssml": "<speak>Watch as I move this plane based on your position!</speak>"
},
"directives": [
{
"type": "Alexa.Presentation.APL.RenderDocument",
"document": {
"type": "APL",