Add animation preset example

This commit is contained in:
Max Stockner 2018-07-10 00:10:53 +02:00
parent 83c88a2479
commit d1f702fc65

View file

@ -167,5 +167,31 @@
}
]
}
},
"_animPresets": [{
"_comment1": "Change _animPresets to animPresets for a new tab with all preset animations",
"_comment2": "Check documentation for how to make animations",
"label": "test",
"anim": {
"office": [{
"to": {
"10": 0,
"20": 0
}
},
{
"to": {
"10": 255
},
"duration": 2000
},
{
"to": {
"20": 255
},
"duration": 1000
}
]
}
}]
}