MCPcopy Create free account
hub / github.com/tiny-pilot/tinypilot / DialogVariantChangedEvent

Class DialogVariantChangedEvent

app/static/js/events.js:52–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52export class DialogVariantChangedEvent extends CustomEvent {
53 /**
54 * Event that advises a visual variant style change of the dialog.
55 * @param {("default"|"danger"|"success")} variant
56 */
57 constructor(variant) {
58 super("dialog-variant-changed", {
59 detail: {
60 variant,
61 },
62 bubbles: true,
63 composed: true,
64 });
65 }
66}
67
68export class VideoStreamingModeChangedEvent extends CustomEvent {
69 /**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected