MCPcopy Create free account
hub / github.com/alienkitty/space.js / init

Method init

src/ui/MuteButton.js:37–48  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

35 }
36
37 init() {
38 this.css({
39 position: 'relative',
40 width: this.width + 20,
41 height: this.height + 20,
42 cursor: 'pointer',
43 pointerEvents: 'auto',
44 webkitUserSelect: 'none',
45 userSelect: 'none',
46 opacity: 0
47 });
48 }
49
50 initCanvas() {
51 this.canvas = new Interface(null, 'canvas');

Callers 1

constructorMethod · 0.95

Calls 1

cssMethod · 0.80

Tested by

no test coverage detected