MCPcopy Create free account
hub / github.com/pixijs/sound / constructor

Method constructor

src/htmlaudio/HTMLAudioInstance.ts:59–66  ·  view source on GitHub ↗

@param parent - Parent element

(parent: HTMLAudioMedia)

Source from the content-addressed store, hash-verified

57
58 /** @param parent - Parent element */
59 constructor(parent: HTMLAudioMedia)
60 {
61 super();
62
63 this.id = id++;
64
65 this.init(parent);
66 }
67
68 /**
69 * Set a property by name, this makes it easy to chain values

Callers

nothing calls this directly

Calls 1

initMethod · 0.95

Tested by

no test coverage detected