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

Method init

src/ui/DetailsButton.js:40–51  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 1

constructorMethod · 0.95

Calls 1

cssMethod · 0.80

Tested by

no test coverage detected