Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion docs/api/mixins/Navigation.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,19 @@ this.replaceWith('/users/10?showAge=true');
### `goBack()`

Programmatically go back to the last route and remove the most recent
entry from the browser history.
entry from the browser history. Return false if it's the first entry in the app history, true otherwise.

#### Example

```js
this.goBack();
```
If you want to make sure there is an history entry
```js
if (!this.goBack()) {
this.transitionTo('/otherpage')
}
```

### `makePath(routeName, params, query)`

Expand Down