Skip to content
Browse files

Updating readme with release notes and missing API docs

  • Loading branch information...
1 parent d2bfdde commit 9ee1d528b379518c39ca3287f0c4d0d87669db94 @finnsson committed
Showing with 18 additions and 0 deletions.
  1. +18 −0 README.md
View
18 README.md
@@ -177,6 +177,16 @@ context hierarchy. If no self-defined Page-instance can be found the root Page-i
* [Custom Navigation Binding](http://pagerjs.com/demo/#!/custom_navigation_binding)
+### `pager.onBindingError : $.Callbacks`
+
+* [Binding Error](http://pagerjs.com/demo/#!/binding_error)
+
+### `pager.onSourceError : $.Callbacks`
+
+When a source failes to load the page will trigger the callback `onSourceError`.
+
+* [Source Error](http://pagerjs.com/demo/#!/source_error)
+
### page-href
<a data-bind="page-href: 'somePagePath'"></a>
@@ -389,6 +399,12 @@ This can be useful for e.g. cleaning up failing pages.
* [Binding Error](http://pagerjs.com/demo/#!/binding_error)
+### {Function} onSourceError
+
+When a source failes to load the page will trigger the callback `onSourceError`.
+
+* [Source Error](http://pagerjs.com/demo/#!/source_error)
+
## Cookbook
@@ -912,6 +928,8 @@ Yes. Use `pager.min.history.js` if you want to use it together with History.js.
- [Sending wildcards to the viewmodel](https://github.com/finnsson/pagerjs/issues/52)
- [Should handle pages that does not react to URL changes](https://github.com/finnsson/pagerjs/issues/61)
- [Should handle pages that does not hide on URL changes](https://github.com/finnsson/pagerjs/issues/62)
+- [Should handle exceptions in with/withOnShow](https://github.com/finnsson/pagerjs/issues/46)
+- [Should handle exceptions on source/sourceOnShow](https://github.com/finnsson/pagerjs/issues/47)
## Roadmap

0 comments on commit 9ee1d52

Please sign in to comment.
Something went wrong with that request. Please try again.