Skip to content

Commit

Permalink
Merge branch 'master' of github.com:richardanaya/voir
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard authored and Richard committed Jan 29, 2020
2 parents 29fc118 + 31dfa32 commit a373a73
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,16 @@ class MyPageRoute extends PageRoute {
async function onInit(){
// perform some operation on first load

// get paramters from route regex match
const pageId = this.match.groups.test;
// get parameters from route regex match
const pageId = this.match.groups.postId;
}

async function onLoad(){
// perform some operation when navigated to
// perform some operation when navigated to
}

async function onRender(){
// render from session state and view state
// render from session state and view state
}
}
```
Expand Down

0 comments on commit a373a73

Please sign in to comment.