MCPcopy
hub / github.com/twitter/labella.js / positionAfter

Method positionAfter

src/core/node.js:42–44  ·  view source on GitHub ↗
(node, buffer=0)

Source from the content-addressed store, hash-verified

40 }
41
42 positionAfter(node, buffer=0){
43 return node.currentRight() + this.width/2 + buffer;
44 }
45
46 currentRight(){
47 return this.currentPos + this.width/2;

Callers 2

node.spec.jsFile · 0.80
eFunction · 0.80

Calls 1

currentRightMethod · 0.80

Tested by

no test coverage detected