imports/vx/client/code/vxapp.js
/**
     * Make animation classes for SlidePanel and similar components.
     *
     * @param {string} status Transition status.
     * @param {string} classes Base classes.
     * @param {string} animation Animation name.
     * @return {string} Base classes augmented with animation classes.
     */
Make animation classes for SlidePanel and similar components.
@param {string} status Transition status.
@param {string} classes Base classes.
@param {string} animation Animation name.
@return {string} Base classes augmented with animation classes.
Make animation classes for SlidePanel and similar components . @param { string } status Transition status . @param { string } classes Base classes . @param { string } animation Animation name . @return { string } Base classes augmented with animation classes .
makeAnimationClasses(status, classes, animation) {
        if (animation) {
            switch (status) {
            case "entering" :
                classes += " " + animation + "-enter"
                break
            case "entered" :
                classes += " " + animation + "-enter " + animation + "-enter-active"
                break
            case "exiting" :
                classes += " " + animation + "-exit"
                break
            case "exited" :
                classes += " " + animation + "-exit " + animation + "-exit-active"
                break
            }
        }
        return classes
    }
makeAnimationClasses ( status , classes , animation ) { if ( animation ) { switch ( status ) { case "entering" : classes += " " + animation + "-enter" break case "entered" : classes += " " + animation + "-enter " + animation + "-enter-active" break case "exiting" : classes += " " + animation + "-exit" break case "exited" : classes += " " + animation + "-exit " + animation + "-exit-active" break } } return classes }
Make animation classes for SlidePanel and similar components.
Make animation classes for SlidePanel and similar components .