You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
8 months ago | |
---|---|---|
.gitignore | 11 months ago | |
LICENSE | 4 years ago | |
README.md | 4 years ago | |
bower.json | 8 months ago | |
strolch-wc-paging-behavior.html | 4 years ago | |
strolch-wc-paging.html | 4 years ago |
README.md
strolch-wc-paging
Strolch WebComponent Paging Component
Usage:
Import declaration:
<!-- Import -->
<link rel="import" href="../../../bower_components/strolch-wc-paging/strolch-wc-paging.html">
Styling:
<!-- Style -->
<style is="custom-style" include="strolch-wc-styles">
...
strolch-wc-paging {
max-width: 1080px;
width: 100%;
}
</style>
Element:
<!-- The paging element -->
<strolch-wc-paging id="paging" data-obj="{{dataObj}}"></strolch-wc-paging>
JavaScript:
/* Lifecycle */
attached: function () {
this.$.paging.ajax = this.$.ajaxRequestObject;
},