UI-Router - Change $state without rerender/reload of the page

前端 未结 3 383
一整个雨季
一整个雨季 2020-12-04 12:18

I\'ve been looking at these pages (1, 2, 3). I basically want to change my $state, but I don\'t want the page to reload.

I am currently in the page

3条回答
  •  日久生厌
    2020-12-04 13:16

    REF: https://github.com/angular-ui/ui-router/wiki/Quick-Reference#statetransitiontoto-toparams--options

    $state.transitionTo('yourState', params, {notify: false});
    

提交回复
热议问题