Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

0xDaksh/vue-popmotion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

10 Commits

Repository files navigation

vue-popmotion

A small wrapper for integrating popmotion to Vuejs

How to install:

CommonJS:

npm install --save popmotion vue-popmotion
#or
yarn add vue-popmotion 

And in your entry file:

import Vue from 'vue'
import popmotion from 'popmotion'
import VuePopmotion from 'vue-popmotion'
Vue.use(VuePomotion, popmotion)

Script:

Just add 3 scripts in order: vue, popmotion and vue-popmotion to your document.

<script src="https://unpkg.com/vue-popmotion"></script>

Usage:

This wrapper bind popmotion to Vue or this if you're using single file component.

You can popmotion like this:

// the following are available:
Vue.popmotion
Vue.pm
this.popmotion
this.pm

License

Copyright Daksh Miglani, Licensed Under MIT 2017.

About

A tiny PopMotion wrapper for Vue.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /