MCPcopy
hub / github.com/bokuweb/react-rnd / getParent

Method getParent

src/index.tsx:256–258  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

254 }
255
256 getParent() {
257 return this.resizable && (this.resizable as any).parentNode;
258 }
259
260 getParentSize(): { width: number; height: number } {
261 return (this.resizable as any).getParentSize();

Callers 3

onDragStartMethod · 0.95
onResizeStartMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected