Appearance
useEasings
Package
@maas/vue-equipment/composables
Last Changed
6 days ago
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)