NV NVIDIA Elements Catalog Starters GitHub System Themes Getting Started Getting Started Installation CLI MCP Skills Lint GitHub Integrations Getting Started Angular Bundles CDN Custom Elements Eleventy Golang HTMX + Go Hugo Import Maps Lit Lit Library MCP Apps NextJS Nuxt Pi Preact React SolidJS Sphinx Svelte TypeScript Vue About What’s New Changelog Metrics Support Accessibility Contributions Requests Migration Sitemap Foundations Overview Typography Iconography Themes Design Tokens Size & Space Objects Interactions Support Status Color Animation Fonts Layers Custom Layout Horizontal Vertical Grid Popovers i18n Visualization View Transitions DESIGN.md Elements Accordion Alert Avatar Badge Breadcrumb Button Button Group Card Chat Message Checkbox Codeblock Color Combobox Copy Button Datagrid Getting Started Integrations Column Action Column Alignment Column Fixed Column width Container Card Display Settings Footer Heatmap Keynav Multi Select Pagination Panel Detail Panel Grid Performance Placeholder Row Action Row Groups Row Sort Scroll Height Single Select Stripe Date Datetime Dialog Divider Dot Drag Handle Drawer Dropdown Dropdown Group Dropzone File Format Bytes Datetime Number Relative Time Truncate Forms Getting Started Validation Actions Control Gauge Icon Icon Button Input Input Group Logo Markdown Markdown CSS Media Controller Pause Button Playback Rate Select Loop Button Mute Button Seek Button Time Range Volume Range Full-screen Button Menu Month Monaco Input Diff Input Monaco Editor Diff Editor Problems Notification Page Page Header Page Loader Pagination Progressive Filter Chip Progress Bar Progress Ring Password Preferences Input Pulse Radio Range Resize Handle Search Select Skeleton Sort Button Sparkline Star Rating Steps Switch Tabs Tag Textarea Time Toast Toggletip Toolbar Tooltip Tree Viewport Week Patterns Agent Authentication Browse Chat Code Dashboard Editor Empty States Heatmap Keyboard Shortcut Logging Media Navigation Onboarding Panel Responsive Search Subheader Trend Labs Responsive Layout Viewport Container Patterns Forms API Design Properties & Attributes Slots Registration CustomEvents Stateless Composition Styles Packaging Glossary Logs Internal Guidelines Agent Harness Agent Tooling Agent Ownership Documentation Examples TypeScript Testing Unit Testing Accessibility Testing Lighthouse Testing SSR Testing Visual Testing Troubleshooting Component Creation Internal Examples All Examples

Media Pause Button

beta:  2.15.1 Coverage: 90.00% Bundle: 24.15kb Lighthouse: 100 Axe Core Released: 1.0.0
Overview API

<nve-media-pause-button>

Properties

PropertyAttributeDescriptionValues checked checked

Shows whether the checkbox currently has a checked value. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#checked

true
false
command command
string
commandForElement commandfor
composedLabel none

Text content from labels associated with the control.

string
current current

Sets the current state used to represent the current page or navigation link. https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-current

page
step
defaultValue none

The initial value used when the parent form resets.

string
disabled disabled

Prevents the user from interacting with the control. https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled

true
false
expanded expanded
true
false
form form
i18n i18n

Enables updating internal string values for internationalization.

indeterminate indeterminate

Indicates whether the checkbox is visually indeterminate. https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/indeterminate

true
false
interestForElement interestfor
labels none
max max
number
null
maxLength maxlength
number
min min
number
null
minLength minlength
number
name name

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
noValidate novalidate

Disables constraint validation for this control. https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/novalidate

true
false
pattern pattern

Defines the pattern that text values must match. https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/pattern

string
popoverTargetAction popovertargetaction

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
popoverTargetElement popovertarget

Establishes a relationship between a popover and its invoker button. https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/popoverTargetElement

pressed pressed
true
false
readOnly readonly

Prevents the user from changing the control value. https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly

true
false
required required

Requires a value before the parent form can submit. https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/required

true
false
selected selected

Sets selected state when the button belongs to a multi-choice selection group. https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-selected

true
false
step step

Defines the value granularity for numeric inputs. https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/step

number
null
type type

The control type.

button
submit
reset
validationMessage none

The validation message shown when the control is invalid. https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/validationMessage

string
validity none
value value
string
valueAsNumber none

The current value parsed as a number.

number
valueAsString none

The current value serialized as a string.

string
willValidate none

Indicates whether the control participates in constraint validation. https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/willValidate

true
false

Slots

SlotDescription default

Optional custom icon content.

Methods

MethodSignaturesDescription checkValidity
checkValidity(): boolean

Checks whether the control satisfies its constraints. https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/checkValidity

formStateRestoreCallback
formStateRestoreCallback(state: string | null, reason?: string | undefined): void

Restores the checked state from a saved form value.

reportValidity
reportValidity(): boolean

Reports whether the control satisfies its constraints. https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/reportValidity

reset
reset(): void

Resets the control value to its initial value.

setCustomValidity
setCustomValidity(message: string): void
toggle
toggle(event?: Event | undefined): void

Toggles the checked state.

CSS Properties

Css-propertyDescription --background --border --border-radius --color --height --padding --width

CSS Parts

Css-partDescription icon

The fallback icon element.