Code Monkey home page Code Monkey logo

vue-essential-transitions's Introduction

vue-essential-transitions

A collection of native Vue transition styles for quick prototyping

vue-essential-transitions example

Transitions

Transition name Description
v-fade Transition opacity
v-grow Scale into view
v-slide Slide in from right of window
v-slide-left Slide in from left of window
v-slide-down Slide in from top of window
v-slide-up Slide in from bottom of window
v-slide-fade Slide in from right and transition opacity
v-slide-fade-left Slide in from left and transition opacity
v-slide-fade-down Slide down and transition opacity
v-slide-fade-up Slide up and transition opacity

Installation

Install the package from npm by running

$ npm install --save vue-essential-transitions

or

$ yarn add vue-essential-transitions

Usage

Simply import the minified CSS file and reference a transition name in the name attrubute of a element, for example, '.

<template>
    <transition name="v-fade">
      [...]
    </transition>
</template>

<script>
import "vue-essential-transitions";

[...]
</script>

Dev

Running example script requires @vue/cli and @vue/cli-service-global to be installed. Install globally by running

$ npm install --save --g @vue/cli @vue/cli-service-global

or

$ yarn add global vue/cli @vue/cli-service-global

vue-essential-transitions's People

Contributors

shwilliam avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.