rozman50

VUE quote project - Header.vue

Jul 13th, 2018
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. <template>
  2. <div class='row'>
  3. <div class="col-sm-12">
  4. <h3>Quotes Added</h3>
  5. <div class="progress">
  6. <div class="progress-bar" role="progressbar"
  7. aria-valuenow="60" aria-valuemin="0"
  8. aria-valuemax="100"
  9. :style = '{width: (quoteCount / maxQuotes) * 100 + "%"}'>
  10. {{ quoteCount }} / {{ maxQuotes }}
  11. </div>
  12. </div>
  13. </div>
  14. </div>
  15. </template>
  16.  
  17. <script>
  18. export default {
  19. props: ['quoteCount', 'maxQuotes']
  20. }
  21. </script>
Add Comment
Please, Sign In to add comment