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

34 lines
1.4 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 enter - An element shown when the media is not in AirPlay mode and pressing the button will open the AirPlay menu.
* @slot exit - An element shown when the media is in AirPlay mode and pressing the button will open the AirPlay menu.
* @slot icon - The element shown for the AirPlay buttons display.
*
* @attr {(unavailable|unsupported)} mediaairplayunavailable - (read-only) Set if AirPlay is unavailable.
* @attr {boolean} mediaisairplaying - (read-only) Present if the media is airplaying.
*
* @cssproperty [--media-airplay-button-display = inline-flex] - `display` property of button.
*
* @event {CustomEvent} mediaairplayrequest
*/
declare class MediaAirplayButton extends MediaChromeButton {
static get observedAttributes(): string[];
constructor(options?: {
slotTemplate?: HTMLTemplateElement;
});
connectedCallback(): void;
attributeChangedCallback(attrName: string, oldValue: string | null, newValue: string | null): void;
/**
* Are we currently airplaying
*/
get mediaIsAirplaying(): boolean;
set mediaIsAirplaying(value: boolean);
/**
* Airplay unavailability state
*/
get mediaAirplayUnavailable(): string | undefined;
set mediaAirplayUnavailable(value: string | undefined);
handleClick(): void;
}
export default MediaAirplayButton;