Interface IVevetProps

Application configuration properties for initializing Vevet.

Hierarchy

  • IVevetProps

Properties

checkWebpSupport: boolean

Enable or disable WebP support check in the browser.

Default

false
easing: TEasingType

Default easing function used in animations. Accepts a cubic-bezier array, function or an easing name defined https://antonbobrov.github.io/easing-progress/|here.

Default

[.25, .1, .25, 1]
phone: number

Phone identification max width in pixels. When changing this property, you need to update SASS variables: $viewport-phone. The values must be equal.

Default

899
resizeDebounce: number

Timeout (in ms) for viewport callbacks debouncing.

Default

16
tablet: number

Tablet identification max width in pixels. When changing this property, you need to update SASS variables: $viewport-tablet. The values must be equal.

Default

1199