ํ๋ก์ ํธ
GitHub์์ ๋ณด๊ธฐ
hzzly/vue-particle-line
์๊ฐ
๐ Vue + Cnavas๋ก ๊ตฌํํ ๋ฉ์ง ๋ฐฐ๊ฒฝ ํํฐํด ๋ผ์ธ
์น ๋ฐ ์ฑ ๊ฐ๋ฐ์ธก์ ๋ ์คํ ์ฆ๊ฐ
- in 24h
- 0
- in 7 days
- -1
- in 15 days
- -1
- in 1 month
- ๊ธฐ๋ก ์์ง ์ค
์๋ก ๊ฒน์น๋ ๊ธฐ๊ฐ์ ์์ฆ๊ฐ๋์ด๋ฉฐ ์ผ๋ณ ํฉ๊ณ๊ฐ ์๋๋๋ค. ์ธก์ ๊ฐ์ด ์์ผ๋ฉด ๋น์ ๋ก๋๋ค. ์คํ๋ ๊ด์ฌ๋๋ฅผ ๋ํ๋ด๋ฉฐ ํ์ง์ ๋ณด์ฅํ์ง ์์ต๋๋ค.
README.md
Originalvue-particle-line
How to use
npm install vue-particle-line --save
Main.js file
import Vue from 'vue'
import vueParticleLine from 'vue-particle-line'
import 'vue-particle-line/dist/vue-particle-line.css'
Vue.use(vueParticleLine)
App.vue file - Simple example
<template>
<div id="app">
<vue-particle-line>
<router-view />
</vue-particle-line>
</div>
</template>
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| lineWidth | Number | 0.3 | connect line width |
| dotsNumber | Number | 100 | dot number |
| dotsDistance | Number | 100 | far as points to connect |
| hoverEffect | Boolean | true | mouse hover events |
License
MIT
๊ด๋ จ ํ๋ก์ ํธ ์ดํด๋ณด๊ธฐ
๋ถ๋ฌ์ค๋ ์คโฆ