Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
zcfan committed Jul 21, 2017
1 parent bd6b5c0 commit 5f9f06c
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

A vue wrapper for https://github.com/hakimel/Ladda .

[Demo](http://blog.alanslab.space/vue-ladda/)

[Demo source code](examples/index.html)

## Installation

### Direct Download / CDN
Expand Down Expand Up @@ -61,19 +65,17 @@ new Vue({
...
</vue-ladda>
```

Visit [http://lab.hakim.se/ladda/](http://lab.hakim.se/ladda/) to get a full options of data-style.

- Use `loading` prop to control button status:

```html
<vue-ladda loading="true|false">...</vue-ladda>
```

- Use `progress` prop to control the ladda built-in progress bar. (0 to 1)

```html
<vue-ladda :progress="0-1">...</vue-ladda>
```

See [examples/index.html](examples/index.html) for some example.

0 comments on commit 5f9f06c

Please sign in to comment.