Skip to content

Commit

Permalink
Added install command
Browse files Browse the repository at this point in the history
  • Loading branch information
imRohan authored Feb 4, 2018
1 parent b1a948f commit fcef6f4
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,26 @@
![demoGif](https://i.imgur.com/zM0vitr.gif)
## VueConfirmationButton

A VueJS (2.x) button component that requires the user to press it a few times

### What is this?

A component that will generate a button that requires the user to press it multiple times in order to confirm a designated action
A Vue.js [single file component](https://vuejs.org/v2/guide/single-file-components.html) that will generate a button that requires the user to press it multiple times in order to confirm a designated action

### Why would i need that?

Think of a sensitive scenario, something like deleting data. Having the user read multiple warning messages before performing an action will help prevent unwanted deletions.

## Demo

[Live Demo](http://rohanlikhite.com/projects/vueConfirmationButton/)

## Install

#### Yarn

`yarn add vue-confirmation-button`

#### Manual

Manually download the .vue component (located in the dist) folder and add that to your project.

## Example

#### JS

Expand Down Expand Up @@ -51,6 +57,7 @@ const demo = new Vue({
</vue-confirmation-button>
</div>
```
## Details

### Props

Expand Down

0 comments on commit fcef6f4

Please # to comment.