<nve-sort-button>
Properties
The command to execute on the element. https://developer.mozilla.org/en-US/docs/Web/API/Invoker_Commands_API
string
The element that receives the command. https://developer.mozilla.org/en-US/docs/Web/API/Invoker_Commands_API
Indicates the element that represents the user's current location or position within a set. MDN
page Marks the current page within a set of navigation links.
step Marks the current step within a multi-step process or workflow.
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 collapsible content is currently visible or hidden from the user. MDN
true The associated content expands and becomes visible to the user.
false The associated content collapses and hides from the user.
Associates the button with a form. Set the property to a form element or its ID. The HTML attribute accepts only the form ID. Reading the property returns the associated form element or null. https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/form
Updates internal string values for internationalization.
The element that receives the interest. https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/interestForElement
The name of the button, submitted as a pair with the button value as part of the form data. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-name
string
The popover target action to perform on the popover target element. https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/popoverTargetAction
show
hide
toggle
Establishes a relationship between a popover and its invoker button. https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/popoverTargetElement
Indicates the current state of a toggle button that switches on or off. MDN
true The button is in the pressed (on) state and the associated action or setting is active.
false The button is in the unpressed (off) state and the associated action or setting is inactive.
Indicates whether the element is a noninteractive visual treatment instead of a button. https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly
true
false
Indicates whether an element currently holds selection within a multi-option selection group. MDN
true The element holds selection and represents the user's current choice within the group.
false The element does not hold selection and the user can choose it.
The current sort value, can be ascending, descending, or none.
ascending
descending
none
Defines the button behavior when associated within a form element. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-type
button
submit
reset
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
string
Events
Dispatched on activation with detail: { value, next }, where value is the current sort and next follows the cycle none → ascending → descending → none.
CSS Parts
The icon element