vue-angle
v1.0.3
Published
Vue Angle Picker
Downloads
674
Readme
Vue Angle Picker
This is a small project to create the angle picker as I want because I couldn't find it online.
Example
Instruction
Install:
npm install vue-angle
Use:
import Vue from 'vue';
import VueAngle from 'vue-angle';
vue.use(VueAngle);
Example Code:
<template>
<vue-angle :angle="angle" @change="onChange"></vue-angle>
</template>
<script>
export default{
data() {
angle: 0
},
methods:{
onChange(angle){
this.angle = angle;
}
}
}
</script>
Browser Support
Tested on Chrome and Safari
GitHub
https://github.com/truonggiangdao/vue-angle
License
Copyright (c) 2021-present Giang Dao