Skip to content

Latest commit

 

History

History
29 lines (17 loc) · 607 Bytes

transition.md

File metadata and controls

29 lines (17 loc) · 607 Bytes

API: transition (object)

This object is sent to the transition hooks as the first argument.

Methods

abort()

Aborts a transition.

redirect(to, params, query)

Redirect to another route.

retry()

Retries a transition. Typically you save off a transition you care to return to, finish the workflow, then retry. This does not create a new entry in the browser history.

wait(promise)

Will pause the transition until the promise resolves.