# vue-cta-button

> A Vue.js component that displays a call to action form button, and manages the state of the button.

Latest version **1.0.0** (published 2017-08-04) · MIT license · 0 weekly downloads

## Install

```sh
npm install vue-cta-button
pnpm add vue-cta-button
yarn add vue-cta-button
bun add vue-cta-button
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2017-08-04 |
| First published | 2017-08-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Victor Lim |
| Maintainers | viktorshinova |

## Links

- npm: https://www.npmjs.com/package/vue-cta-button
- Repository: https://github.com/ViktorShinova/vue-cta-button
- Homepage: https://github.com/ViktorShinova/vue-cta-button#readme
- Issues: https://github.com/ViktorShinova/vue-cta-button/issues
- npm.io page: https://npm.io/package/vue-cta-button

## Recent versions

- 1.0.0 (latest) — 2017-08-04

## README

# vue-cta-button

A Vue.js component that displays a call to action form button, and manages the state of the button.

## Installation

```js
npm i --save-dev vue-cta-button
```

### Browser

Include the script file, then install the component with `Vue.use(CtaButton);` e.g.:

```html
<script type="text/javascript" src="node_modules/vuejs/dist/vue.min.js"></script>
<script type="text/javascript" src="node_modules/vue-cta-button/dist/vue-cta-button.min.js"></script>
<script type="text/javascript">
  Vue.use(CtaButton);
</script>
```

### Module

```js
import CtaButton from 'vue-cta-button';
```

## Usage

Once installed, it can be used in a template as simply as:

```html
<vue-cta-button
  type="submit"
  v-bind:loading="isLoading"
  text="Enter Now"
  loadingText="<i class='fa fa-circle-o-notch fa-spin fa-fw'></i> Submitting..."
  class="btn btn-primary"
>
</vue-cta-button>
```

---
_Source: https://npm.io/package/vue-cta-button · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
