search

Home  >  Q&A  >  body text

javascript - angular $state.transitionTo usage explanation

angular $state.transitionTo usage explanation

阿神阿神2823 days ago760

reply all(1)I'll reply

  • 天蓬老师

    天蓬老师2017-05-19 10:26:01

    transitionTo(to, toParams, options)

    Low-level method for transitioning to a new state. $state.go uses transitionTo internally. $state.go is recommended in most situations.
    This is the explanation given by the official API: Low-level method for transitioning to a new state. method. $state.go uses transitionTo internally. In most cases, it is recommended to use $state.go.

    reply
    0
  • Cancelreply