Add animation preset example
This commit is contained in:
parent
83c88a2479
commit
d1f702fc65
1 changed files with 27 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
]
|
||||
}
|
||||
}]
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue