API
The element defines the following shadow parts:
-
page-number: the page number, default type isdivelement
wrap(target) method
Destructively wrap a node with elements to show page numbers.
Parameters:
- target:
Element– the element that should be wrapped by page numbers