MCPcopy Index your code
hub / github.com/react-toolbox/react-toolbox / positionToAngle

Method positionToAngle

components/time_picker/ClockHand.js:94–96  ·  view source on GitHub ↗
(position)

Source from the content-addressed store, hash-verified

92 }
93
94 positionToAngle (position) {
95 return utils.angle360FromPositions(this.props.origin.x, this.props.origin.y, position.x, position.y);
96 }
97
98 end (evts) {
99 if (this.props.onMoved) this.props.onMoved();

Callers 1

moveMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected