@elemental/ui / TypeAlias

LmnResizableHandles

Represents the possible handles for resizing an element.

Presentation

type LmnResizableHandles = {
  /** Handle for resizing from the top. */
  top?: boolean | HTMLElement;
  /** Handle for resizing from the right. */
  right?: boolean | HTMLElement;
  /** Handle for resizing from the bottom. */
  bottom?: boolean | HTMLElement;
  /** Handle for resizing from the left. */
  left?: boolean | HTMLElement;
  /** Handle for resizing from the top-left corner. */
  topLeft?: boolean | HTMLElement;
  /** Handle for resizing from the top-right corner. */
  topRight?: boolean | HTMLElement;
  /** Handle for resizing from the bottom-right corner. */
  bottomRight?: boolean | HTMLElement;
  /** Handle for resizing from the bottom-left corner. */
  bottomLeft?: boolean | HTMLElement;
};