Skip to content

nicooprat/vue-swap

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

logo

vue-swap

Vue functional component to horizontally swap between items

Demo & docs

Quick start

<template>
  <Swap :direction="direction">
    <div :key="i" />
  </Swap>
</template>

<script>
import { Swap } from 'vue-swap'

export default {
  components: {
    Swap,
  },
}
</script>

Installation

Install the vue-swap package:

npm i vue-swap

Or

yarn add vue-swap

Thanks & credits

This repo is based on @Akryum https://github.com/Akryum/vue-mention.

About

Vue functional component to horizontally swap between items

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published