<nve-pagination>
Properties
Resets the control value to its initial value.
() => void
Sets a custom validation message. https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/setCustomValidity
(message: string) => void
Checks whether the control satisfies its constraints. https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/checkValidity
() => boolean
Reports whether the control satisfies its constraints. https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/reportValidity
() => boolean
Text content from labels associated with the control.
string
Labels associated with the control. https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/labels
The control type.
string
The current value parsed as a number.
number
The current value serialized as a string.
string
The validation message shown when the control is invalid. https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/validationMessage
string
The control validity state. https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/validity
Indicates whether the control participates in constraint validation. https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/willValidate
true
false
The form associated with the control. https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/form
Disables constraint validation for this control. https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/novalidate
true
false
The name submitted with the control value as part of the form data. https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/name
string
Defines the maximum text length. https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/maxlength
number
Defines the minimum text length. https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/minlength
number
Defines the maximum numeric value. https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/max
number
null
Defines the minimum numeric value. https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/min
number
null
Defines the pattern that text values must match. https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/pattern
string
Requires a value before the parent form can submit. https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/required
true
false
This Boolean attribute prevents the user from interacting with the element: it cannot receive press or focus events. MDN
true The element has a disabled state and does not accept interaction.
false The element has an enabled state and accepts interaction.
Indicates whether the user can change the element's value while it remains visible and focusable. MDN
true The element has a readonly state: the user cannot change its value, but can still focus and copy it.
false The element allows editing and the user can change its value through interaction.
The initial value used when the parent form resets.
string
Defines the value associated with the element's name when submitting the form data. The server receives this value in params when the form submits through this button. MDN
number
Enables updating internal string values for internationalization.
Demonstrates different container styles to accommodate visual weight and context.
flat Element has white space bounds but reduced visual container.
inline Element container reduces to fit within inline content such as a block of text.
Whether the step selector has a disabled state.
true
false
Whether the pagination is skippable to start/end.
true
false
The total number of items.
number
The array of custom step-size.
array
The number of items per page.
number
Events
Dispatched when the value (page) has changed
Dispatched when the value (page) has changed
Dispatched when the first page is active
Dispatched when the last page is active
Slots
slot for overriding the "n of total" label when total is an approximation
default slot for content
CSS Parts
The page size select element
The last page icon button
The first page icon button
The next page icon button
The previous page icon button
Base part applied to all icon button elements