提交 578c664b 编写于 作者: S superRaytin 提交者: 羽牧

New option 'disabled'.

上级 770e961f
......@@ -52,6 +52,9 @@
$('.paginationjs', container).remove();
}
// Whether to disable Pagination at the initialization
self.disabled = !!attributes.disabled;
// Passed to the callback function
var model = self.model = {
pageRange: attributes.pageRange,
......@@ -93,7 +96,7 @@
// initialized flag
container.data('pagination').initialized = true;
// After initialize
// After initialized
self.callHook('afterInit', el);
});
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册