New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

vue-loading-button

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-loading-button

Vue button with slideout loading indicator

  • 0.1.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
196
increased by41.01%
Maintainers
1
Weekly downloads
 
Created
Source

vue-loading-button

Straightforward Vue button component with slideout loading indicator

Props

PropTypeDefaultDescription
loadingbooleanfalseControls loading indicator animation
styledbooleanfalseDisables inessential default styles

Installation

Install the package from npm by running

$ npm i vue-loading-button

or

$ yarn add vue-loading-button

Usage

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

<template>
  [...]
    <VueLoadingButton />
  [...]
</template>

<script>
import VueLoadingButton from 'vue-loading-button'

[...]
  components: {
    VueLoadingButton,
[...]
</script>

Dev

Running example script requires @vue/cli and @vue/cli-service-global to be installed. Install globally by running npm i --g @vue/cli @vue/cli-service-global or yarn add global vue/cli @vue/cli-service-global

Accessibility

Apply attributes, such as aria-label, directly on the element to apply them to the button.

<template>
  [...]
    <VueLoadingButton aria-label='Send message' />
  [...]
</template>

FAQs

Package last updated on 05 Feb 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc