ngx-wapp-components 3.4.0 → 3.4.1-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -19,6 +19,18 @@ After building your library with `ng build wapp-components`, go to the dist fold
|
|
|
19
19
|
|
|
20
20
|
Run `ng test wapp-components` to execute the unit tests via [Karma](https://karma-runner.github.io).
|
|
21
21
|
|
|
22
|
+
## Lazy table initial page
|
|
23
|
+
|
|
24
|
+
Use `[initialPage]="3"` on `w-table-lazy` to start on the third page.
|
|
25
|
+
The default is `1`; only positive integers are accepted. With
|
|
26
|
+
`[rowsPerPage]="10"`, page 3 emits the initial `queryElements` request with
|
|
27
|
+
`first: 20` and `rows: 10`.
|
|
28
|
+
|
|
29
|
+
Pagination saved in session for the tenant and table `id` takes priority,
|
|
30
|
+
including its saved page size. Use a stable, unique `id` for each table.
|
|
31
|
+
`initialPage` is applied only on initialization, not on subsequent page,
|
|
32
|
+
sort or filter changes. Choose a page that exists in the result set.
|
|
33
|
+
|
|
22
34
|
## Further help
|
|
23
35
|
|
|
24
36
|
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
|