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

Method getParentSize

src/index.tsx:260–262  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

258 }
259
260 getParentSize(): { width: number; height: number } {
261 return (this.resizable as any).getParentSize();
262 }
263
264 getMaxSizesFromProps(): MaxSize {
265 const maxWidth = typeof this.props.maxWidth === "undefined" ? Number.MAX_SAFE_INTEGER : this.props.maxWidth;

Callers 1

onResizeStartMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected