MCPcopy Create free account
hub / github.com/flyfloor/react-component / node2Top

Function node2Top

component/Pin.js:34–39  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

32 },
33
34 node2Top(){
35 const {begin} = this.props;
36 if (begin) return begin;
37 const pinNode = ReactDOM.findDOMNode(this.refs.pinNode);
38 return pinNode.offsetTop;
39 },
40
41
42 onScroll(){

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…