Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@emanon/ema-pagination

Package Overview
Dependencies
Maintainers
12
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@emanon/ema-pagination

## Overall Used to switch around numbers.

latest
Source
npmnpm
Version
0.5.5
Version published
Maintainers
12
Created
Source

ema-pagination

Overall

Used to switch around numbers.

Properties

PropertyAttributeTypeDefaultDescription
currentcurrentnumber1Currently selected page number.
maxmaxnumber1Max page number.
sizesizenumber5How many page items to show around selected item.
Prev, First, Recede, Proceed, Last and Next items are not considered.
stepstepnumber3Recede and procede step value.

Events

EventTypeDescription
page-changeCustomEvent<{ page: number; }>Fires when new page number is selected.

CSS Custom Properties

PropertyDefaultDescription
--ema-c-pagination-color"#5289ea"Pagination color.

ema-pagination-item

Overall

<ema-pagination>'s item.

Properties

PropertyAttributeTypeDefaultDescription
actionaction"prev" | "next" | "page""page"Type of item action.
moremorebooleanfalseMore icon.
pagepagenumber1Page number.
selectedselectedbooleanfalseSelected of not.

Events

EventTypeDescription
next-tapFires when item typed next is tapped.
page-tapCustomEvent<{ page: number; }>Fires when item typed page is tapped.
prev-tapFires when item typed prev is tapped.

FAQs

Package last updated on 14 Apr 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts