Skip to content

Commit

Permalink
update README to add 'loop'
Browse files Browse the repository at this point in the history
  • Loading branch information
shershen08 committed Dec 18, 2017
1 parent 2632a0b commit f152ab8
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,24 +20,18 @@ Add in the component ```import VueAudio from 'vue-audio';```

Use in the template ```<vue-audio file="myLocalFile"></vue-audio>```

The component has two attributes

- **file** (String) is required;
- **autoPlay** (Boolean) is false by default;
The component has following attributes:

- **file** (String), required;
- **autoPlay** (Boolean), optional, false by default;
- **loop** (Boolean), optional, false by default;

For styling the Bootstrap classes v 3.7 are used, so you may want to add [bootstrap css](https://www.npmjs.com/package/bootstrap-css) package or add via stylesheet link ```<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css">```

### Questions, bugs

Create [an issue](https://github.com/shershen08/vuejs-sound-player/issues) or try to ping me on twitter [@legkoletat](https://twitter.com/legkoletat)

### ToDo

- <s>Add track position navigation</s>
- Replace CSS classes that make bootstrap necessary
- Add remote file load service

### Contribute

### 1. install dependencies
Expand Down

0 comments on commit f152ab8

Please sign in to comment.