LGUI2:AnimationType:delay

From Lavish Software Wiki
Jump to navigation Jump to search

The delay Animation Type does nothing for a specified duration


Animation properties

A delay Animation uses no properties beyond those defined by Animation

Examples

Slide back and forth, with a delay of 1000ms between slide Animations
{
  "type": "chain",
  "name": "backAndForth",
  "animations": [
    {
      "type": "slide",
      "name": "back",
      "destination": [ 0, 0 ],
      "duration": 1000
    },
    {
      "type": "delay",
      "name": "delayBackAndForth",
      "duration": 1000
    },
    {
      "type": "slide",
      "name": "forth",
      "destination": [ 1500, 0 ],
      "duration": 1000
    }
  ]
}


LavishGUI 2 Animation Types

Basic Animations
fade - slide - value
Utilities
chain - composite - delay - random - repeat