mwg API
    Preparing search index...

    Interface TweenOptions

    interface TweenOptions {
        alternate?: (t: number) => void;
        ease?: Easing;
        intent?: MotionIntent;
    }
    Index
    alternate?: (t: number) => void

    A non-vestibular variant to run instead of apply under reduced motion, for the case the preference asks for rather than removal: (t) => (sprite.alpha = t) beside an apply that slides and fades. It runs over the shortened duration, not the full one. Not used when the preference is off.

    ease?: Easing

    defaults to Easing.linear

    intent?: MotionIntent

    What the motion is for. decorative (the default: a slide, spin, zoom or anything large or peripheral) collapses under reduced motion; meaningful is shortened instead, so state that motion conveys is still readable. See core.MotionIntent.