Skip to content

useEasings

Package
@maas/vue-equipment/composables
Last Changed
last month

Easings as functions

Demo

linear
easeInQuad
easeOutQuad
easeInOutQuad
easeOutBack
easeInCubic
easeOutCubic
easeInOutCubic
easeInQuart
easeOutQuart
easeInOutQuart
easeInQuint
easeOutQuint
easeInOutQuint

Usage

ts
import { useEasings } from '@maas/vue-equipment/composables'

const {
  linear,
  easeInQuad,
  easeOutQuad,
  easeInOutQuad,
  easeInCubic,
  easeOutCubic,
  easeInOutCubic,
  easeInQuart,
  easeOutQuart,
  easeInOutQuart,
  easeInQuint,
  easeOutQuint,
  easeInOutQuint,
} = useEasings()

easeOutQuad(300)

Released under the MIT License.