Files
pole-book/server/node_modules/media-chrome/dist/media-mute-button.d.ts

26 lines
1.2 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import { MediaChromeButton } from './media-chrome-button.js';
/**
* @slot off - An element shown when the media is muted or the medias volume is 0.
* @slot low - An element shown when the medias volume is “low” (less than 50% / 0.5).
* @slot medium - An element shown when the medias volume is “medium” (between 50% / 0.5 and 75% / 0.75).
* @slot high - An element shown when the medias volume is “high” (75% / 0.75 or greater).
* @slot icon - An element for representing all states in a single icon
*
* @attr {string} mediavolumelevel - (read-only) Set to the media volume level.
*
* @cssproperty [--media-mute-button-display = inline-flex] - `display` property of button.
*/
declare class MediaMuteButton extends MediaChromeButton {
static get observedAttributes(): string[];
constructor(options?: object);
connectedCallback(): void;
attributeChangedCallback(attrName: string, oldValue: string | null, newValue: string | null): void;
/**
* @type {string | undefined}
*/
get mediaVolumeLevel(): string | undefined;
set mediaVolumeLevel(value: string | undefined);
handleClick(): void;
}
export default MediaMuteButton;