0.42.1-2.1 • Published 3 years ago

@nival/avuetar v0.42.1-2.1

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

aVuetar

Vue 3 implementation of Avvvatars. Demo here

Installation

Using NPM or Yarn.

  npm i @nival/avuetar
  yarn add @nival/avuetar

Usage

Register the component globally.

import aVuetar from '@nival/avuetar'

ceateApp(App).use(aVuetar)

The you can use it in your template

<Avuetar value="42" />

Props:

value: string
displayValue?: string 
size?: number
shadow?: boolean
style?: 'character | shape'
border?: boolean
borderSize?: number
borderColor?: string
radius?: number

value: The value you wish to initialize the seeder.

displayValue: Optional parameter which lets you define a different display value different from value. It makes sense only when using style="character".

size: The number of pixels you wish your avatar to have.

shadow: Applies box-shadow if it is set to true.

style: Use 'shape' to use one of the shapes, character or empty if you want to display two letters.

border: Applies a border if it is set to true.

borderSize: Size in pixels of the border

borderColor: Hex color code of the border.

radius: Size in pixel of the border radius.

0.42.1-2.1

3 years ago

0.42.12

3 years ago

0.12.2

3 years ago

0.12.1

3 years ago

0.12.0

3 years ago

0.0.14

3 years ago

0.0.13

3 years ago

0.0.12

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago