ixfx
    Preparing search index...

    Type Alias ElementSizerOptions<T>

    ElementSizerOptions: {
        containerEl?: HTMLElement | string;
        naturalSize?: Geometry.Rect;
        onSetSize: (size: Geometry.Rect, el: T) => void;
        stretch?: ElementResizeLogic;
    }

    Options

    Type Parameters

    • TextendsHTMLElement | SVGElement

    Type declaration

    • OptionalcontainerEl?: HTMLElement | string

      If not specified, the element's parent is used

    • OptionalnaturalSize?: Geometry.Rect
    • onSetSize: (size: Geometry.Rect, el: T) => void
    • Optionalstretch?: ElementResizeLogic
      'none'