1.0.11 • Published 3 years ago

next-vue-button v1.0.11

Weekly downloads
4
License
MIT
Repository
github
Last release
3 years ago

Next Vue Button

version npm downloads [Software License](LICENSE)

A Vue.js plugin to easily integrate button in your projects.

VueJs Button is a simple button that give a lot of alternatives to work with, instead of using a predefined button.

Instalation

Install the package from npm by running:

# install dependencies
npm i next-vue-button

Usage

Import, register and place the component in your Vue app.

<template>
  <NextVueButton />
</template>
import NextVueButton from 'next-vue-button'

export default {
  components: {
    NextVueButton,
  }
}

Accessibility

Apply attributes, directly on the element to apply them to the button.

<template>
  <NextVueButton
    classType="button success"
    text="New Product"
    :needSpinner="true"
    :isRequesting="true"
  />
</template>

Props

Components Property that make him cool

NameTypeDefaultDescription
classTypeStringbutton successThis prop allow to change button color,according to our terms
textStringThis prop allow you to change the button text
needSpinnerBooleanfalseWith this prop you make choice if you want to use spinner on this button
isRequestingBooleanfalseThis prop make sense if you will use the Spinner, i could help your button spinner work if the two are in TRUE mode.
isDisabledBooleanfalseThis prop is for disable your button
1.0.11

3 years ago

1.0.10

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.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago