Skip to main content

go!

Description

go! — immediate transition into specified state: all reactions of a target state will be performed.

Value type

  • string — path shows a target state for the immediate transition

Parameters

  • none

Nested data

  • none

Syntax

The path after the tag can be either absolute or relative:

  • / — root theme;
  • . — current state;
  • .. — state from a higher level (parent state);
  • ./.. — separation of path elements.

How to use

    go!: /path
go!: ../anotherPath
go!: ../My module/another state
go!: {{ $temp.nextState }}
tip
Substitution can be used in the tag. The brackets {{ }} can contain any valid JavaScript expression, the same variables and functions that were in the scripts can also be used.