MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / bind

Method bind

contributed/somafm/ScrollerBehaviors.js:37–39  ·  view source on GitHub ↗
(behavior, scroller)

Source from the content-addressed store, hash-verified

35 this.k = 0.0015;
36 }
37 bind(behavior, scroller) {
38 behavior.mode = this;
39 }
40 computeDistance(v0, v1, k) {
41 return (v0 - v1) / k
42 }

Callers 15

addMachineFunction · 0.45
constructorMethod · 0.45
constructorMethod · 0.45
constructorMethod · 0.45
sendMethod · 0.45
monitorMethod · 0.45
monitorTaskMethod · 0.45
publishMethod · 0.45
subscribeMethod · 0.45
makeRequestFunction · 0.45
constructorMethod · 0.45
addClientFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected