mwg API
    Preparing search index...

    Function motionDuration

    • The duration a motion should actually take.

      A decorative motion (the default) collapses to zero under reduced motion, which is what "reduce" means for a slide, spin or zoom. A meaningful motion, one that conveys state rather than moving the viewer through space, is shortened instead of deleted, so a health bar still visibly fills and a selection still visibly moves.

      Parameters

      Returns number