mwg API
    Preparing search index...

    Function slide

    • Old and new pictures sliding together: the new one enters from the direction side while the old one leaves the other way.

      Parameters

      • options: { direction?: "up" | "down" | "left" | "right" } = {}

      Returns SceneTransition

      import { slide } from '@datamoc/mwg/two-d/render';

      console.log(slide({ direction: 'left' }).name); // 'slide'