The Animation Object

{
    "type": "add",
    "lines": "console.log(\"Hello World!\")\n",
    "start": "1", 
    "end": "2" 
}

Attributes

type (string)

The type of your animation.

Example:

"type": "insert"

lines (string)

The code to use in the animation.

Example:

"lines": "console.log(\"Hello World!\")\n"

start (integer)

The start of your animation in seconds.

Example:

"start": "1"

end (integer)

The end of your animation in seconds.

Example:

"end": "2"