Defines a ResizeManager entry

interface ResizeManagerEntry {
    element: Element | HTMLElement;
    priority?: number;
    callback: (() => void);
}

Properties

element: Element | HTMLElement

HTMLElement to track

priority?: number

Priority in which to call the callback function

callback: (() => void)

Function to execute when the element is resized

Type declaration

    • (): void
    • Function to execute when the element is resized

      Returns void