SheetXL - v0.8.0-beta.9+sites.210.e2d420901
    Preparing search index...

    Hierarchy

    • Component<Props, {}>
      • Resizable
    Index
    • Parameters

      • props: Props

      Returns Resizable

    • Parameters

      • props: Props
      • context: any

        value of the parent Context specified in contextType.

      Returns Resizable

    handleRefs: {
        e?: RefObject<HTMLElement | null>;
        n?: RefObject<HTMLElement | null>;
        ne?: RefObject<HTMLElement | null>;
        nw?: RefObject<HTMLElement | null>;
        s?: RefObject<HTMLElement | null>;
        se?: RefObject<HTMLElement | null>;
        sw?: RefObject<HTMLElement | null>;
        w?: RefObject<HTMLElement | null>;
    } = {}
    lastHandleRect: DOMRect | null = null
    lastSize: { height: number; width: number } | null = null
    slack: [number, number] | null = null
    defaultProps: DefaultProps = ...
    propTypes: { [key: string]: any } = resizableProps

    Ignored by React.

    Only kept in types for backwards compatibility. Will be removed in a future major release.

    • Called immediately before a component is destroyed. Perform any necessary cleanup in this method, such as cancelled network requests, or cleaning up any DOM elements created in componentDidMount.

      Returns void

    • Returns ReactNode

    • Parameters

      Returns ReactNode

    • Returns void

    • Wrapper around drag events to provide more useful data.

      Parameters

      • handlerName: "onResizeStop" | "onResizeStart" | "onResize"

        Handler name to wrap.

      • axis: ResizeHandleAxis

      Returns (e: SyntheticEvent, data: DragCallbackData) => void

      Handler function.

    • Parameters

      • width: number
      • height: number

      Returns [number, number]