@trashpanda001/helpers
    Preparing search index...

    Type Alias ViewportInfo

    Viewport information.

    type ViewportInfo = {
        height?: number;
        lg?: boolean;
        md?: boolean;
        mobile?: boolean;
        sm?: boolean;
        width?: number;
        xl?: boolean;
    }
    Index

    Properties

    height?: number

    Viewport height in CSS pixels

    lg?: boolean

    ≥1280px desktop / landscape (iPad Pro 12.9")

    md?: boolean

    ≥1024px laptop / landscape table (iPad Mini 5th gen / iPad)

    mobile?: boolean

    <724px mobile phones, typically ≥375px

    sm?: boolean

    ≥724px portrait tablet / landscape phone (iPhone 13 Mini / iPhone 11 Pro + safe area)

    width?: number

    Viewport width in CSS pixels

    xl?: boolean

    ≥1536px huge desktop / 4K