Strolch WebComponents Paging
Go to file
Robert von Burg 04cdcbdf59
[New] Fixed scrolling after paging
2024-02-26 15:58:58 +01:00
.gitignore [Project] added ignores 2022-04-22 08:15:23 +02:00
LICENSE [Project] Initial Commit 2019-08-06 14:55:37 +02:00
README.md [Project] Initial Commit 2019-08-06 14:55:37 +02:00
bower.json [New] Fixed scrolling after paging 2024-02-26 15:58:58 +01:00
strolch-wc-paging-behavior.html [New] Fixed scrolling after paging 2024-02-26 15:58:58 +01:00
strolch-wc-paging.html [Major] Refactored strolch-wc-paging to use flexbox 2024-02-26 13:12:06 +01:00

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;
},