ixfx
    Preparing search index...

    Type Alias ElementSizerOptions<T>

    Options

    type ElementSizerOptions<T extends HTMLElement | SVGElement> = {
        containerEl?: HTMLElement | string;
        debounceTimeout?: Interval;
        naturalSize?: Rect;
        onSizeChanging: (size: Rect, el: T) => void;
        onSizeDone?: (size: Rect, el: T) => void;
        stretch?: ElementResizeLogic;
    }

    Type Parameters

    • T extends HTMLElement | SVGElement
    Index

    Properties

    containerEl?: HTMLElement | string

    If not specified, the element's parent is used

    debounceTimeout?: Interval
    naturalSize?: Rect
    onSizeChanging: (size: Rect, el: T) => void
    onSizeDone?: (size: Rect, el: T) => void
    'none'