Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Moddable-OpenSource/moddable
/ contains
Method
contains
examples/commodetto/mini-drag/main.js:89–91 ·
view source on GitHub ↗
(x, y)
Source
from the content-addressed store, hash-verified
87
this.state = 0;
88
}
89
contains(x, y) {
90
return
this.bounds.contains(x, y);
91
}
92
draw() {
93
let
image = this.image;
94
let
label = this.label;
Callers
2
onSample
Function · 0.45
main.js
File · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected