1.1.4 • Published 3 years ago

vue3-big-brother v1.1.4

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

Big Brother library

Here's a brief introduction or check documentation

Installation

$ npm i vue3-big-brother

Use


main.js

import { createApp } from 'vue';
import App from './App.vue';
import BigBrother from "vue3-big-brother";

createApp(App)
    .use(BigBrother)
    .mount('#app')


Component

<big-brother
:avatar="require('@/assets/brother/animal.png')"
:width="150"
:left-eye="{top: 26, left: 2}"
:right-eye="{top: 13, right: -1}"
:diameter-left-eye="15"
:diameter-right-eye="8"
/>

Options

DirectiveTypeDescription
widthnumberImage width in pixels
avatarrequireUrl image
left-eyeobjectLocation of the left eye
right-eyeobjectLocation of the right eye
diameter-left-eyenumberEye rotation diameter
diameter-right-eyenumberEye rotation diameter
1.1.4

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago