{"action":"created","issue":{"url":"https://api.github.com/repos/OnsenUI/OnsenUI/issues/548","labels_url":"https://api.github.com/repos/OnsenUI/OnsenUI/issues/548/labels{/name}","comments_url":"https://api.github.com/repos/OnsenUI/OnsenUI/issues/548/comments","events_url":"https://api.github.com/repos/OnsenUI/OnsenUI/issues/548/events","html_url":"https://github.com/OnsenUI/OnsenUI/pull/548","id":65148818,"number":548,"title":"Add replace() method to ons-navigator","user":{"login":"seanchas116","id":1025246,"avatar_url":"https://avatars.githubusercontent.com/u/1025246?v=3","gravatar_id":"","url":"https://api.github.com/users/seanchas116","html_url":"https://github.com/seanchas116","followers_url":"https://api.github.com/users/seanchas116/followers","following_url":"https://api.github.com/users/seanchas116/following{/other_user}","gists_url":"https://api.github.com/users/seanchas116/gists{/gist_id}","starred_url":"https://api.github.com/users/seanchas116/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanchas116/subscriptions","organizations_url":"https://api.github.com/users/seanchas116/orgs","repos_url":"https://api.github.com/users/seanchas116/repos","events_url":"https://api.github.com/users/seanchas116/events{/privacy}","received_events_url":"https://api.github.com/users/seanchas116/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-30T07:00:42Z","updated_at":"2015-03-30T08:35:21Z","closed_at":"2015-03-30T08:34:23Z","pull_request":{"url":"https://api.github.com/repos/OnsenUI/OnsenUI/pulls/548","html_url":"https://github.com/OnsenUI/OnsenUI/pull/548","diff_url":"https://github.com/OnsenUI/OnsenUI/pull/548.diff","patch_url":"https://github.com/OnsenUI/OnsenUI/pull/548.patch"},"body":"Add replace() method that replaces the stack top of the navigator.\r\n\r\n```javascript\r\nmyNavigation.replacePage(\"page.html\");\r\n```\r\n\r\n## Events\r\n\r\n`prepush` before replacing\r\n`postpush` after replacing\r\n\r\n## Animation\r\n\r\nSame as `pushPage()`.\r\n\r\n```javascript\r\n// the new page will slide over the old page\r\nmyNavigation.replacePage(\"page.html\", {\r\n  animation: 'slide'\r\n});\r\n```"},"comment":{"url":"https://api.github.com/repos/OnsenUI/OnsenUI/issues/comments/87591553","html_url":"https://github.com/OnsenUI/OnsenUI/pull/548#issuecomment-87591553","issue_url":"https://api.github.com/repos/OnsenUI/OnsenUI/issues/548","id":87591553,"user":{"login":"seanchas116","id":1025246,"avatar_url":"https://avatars.githubusercontent.com/u/1025246?v=3","gravatar_id":"","url":"https://api.github.com/users/seanchas116","html_url":"https://github.com/seanchas116","followers_url":"https://api.github.com/users/seanchas116/followers","following_url":"https://api.github.com/users/seanchas116/following{/other_user}","gists_url":"https://api.github.com/users/seanchas116/gists{/gist_id}","starred_url":"https://api.github.com/users/seanchas116/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanchas116/subscriptions","organizations_url":"https://api.github.com/users/seanchas116/orgs","repos_url":"https://api.github.com/users/seanchas116/repos","events_url":"https://api.github.com/users/seanchas116/events{/privacy}","received_events_url":"https://api.github.com/users/seanchas116/received_events","type":"User","site_admin":false},"created_at":"2015-03-30T08:35:21Z","updated_at":"2015-03-30T08:35:21Z","body":"Thank you for reviewing and merging!"}}