This example demonstrates assigning transitions via JavaScript objects with name, from and to properties:
transitions: [
{action: 'next', from: 'a', to: 'b'},
{action: 'next', from: 'b', to: 'c'},
{action: 'back', from: 'c', to: 'b'},
{action: 'back', from: 'b', to: 'a'}
]
However, it's generally easier to use shorthand notation.