Function checkWebpFeature

  • Check if the browser supports the webp format.

    Returns

    Promised true if the feature is supported.

    Parameters

    • feature: "alpha" | "animation" | "lossy" | "lossless" = 'lossy'

      The feature to test.

    Returns Promise<boolean>

Generated using TypeDoc