diff --git a/examples/index.html b/examples/index.html
index 9854100..5100d39 100644
--- a/examples/index.html
+++ b/examples/index.html
@@ -19,13 +19,12 @@
var obj = $('#pagination').twbsPagination({
totalPages: 35,
visiblePages: 10,
- href: true,
- pageVariable: 'page',
onPageClick: function (event, page) {
- console.info(page);
+ console.info(page + ' (from options)');
}
+ }).on('page', function (event, page) {
+ console.info(page + ' (from event listening)');
});
- console.info(obj.data());
});