<nve-button>
Properties
The element that receives the interest. https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/interestForElement
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
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
The id reference of the element that receives the popover. https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/button#popovertarget
string
Establishes a relationship between a popover and its invoker button. https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/popoverTargetElement
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.
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.
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.
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
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
Like input form, sets a button to submit a form outside its parent form. Returns a reference to the form element if available. https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/form
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.
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.
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.
The Interaction type provides a way to show the intent of an interactive element. This can help users quickly understand what each interaction does and reduce the potential for confusion or errors.
emphasis Shows the interaction targets emphasis or highlighting primary actions.
destructive Shows the interaction targets destructive actions such as deleting or removing.
Controls the visual scale of an element to match its importance and available space.
sm Compact size for dense layouts or secondary elements with less visual prominence.
md Standard size that works well in most contexts and provides balanced visibility.
lg Larger size for emphasizing important elements or improving touch targets in spacious layouts.
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.
Slots
slot for button text content or icon, icon placement depends on whether icon appears before or after text content.