ixfx
    Preparing search index...

    Type Alias ElementResizeLogic

    ElementResizeLogic: "width" | "height" | "both" | "none" | "min" | "max"
    • width: use width of parent, set height based on original aspect ratio of element. Assumes parent has a determined width.
    • height: use height of parent, set width based on original aspect ratio of element. Assumes parent has a determined height.
    • both: use height & width of parent, so the element adopts the ratio of the parent. Be sure that parent has a width and height set.
    • min: use the smallest dimension of parent
    • max: use the largest dimension of parent