Description
vue-poll is a Vue.js component for voting, made in the style of a Twitter poll. You give it a question and a list of answers, each with a unique value, its text and its vote count, and the component shows the voting options or the results. The showResults option skips voting and shows the results, and finalResults does the same while highlighting the winner. Set multiple to true to allow several choices, with a submit button whose text you can change. Each answer can take a custom CSS class, and a custom id can be passed through. The addvote callback returns the answer's value, its vote count, the poll's total votes and the custom id, so your code can save each vote. The component requires Vue.js 2. It can be installed from npm, or loaded from a CDN for use without a build step. The source is on GitHub under the MIT licence.…
Highlights
- Twitter-style poll component for Vue 2
- Single and multiple choice voting
- Show results or highlight the final winner
- addvote callback with vote totals
- MIT licensed
Ratings & Reviews
No ratings yet
Be the first to rate vue-poll.
People also visit
vue-poll FAQ
What is vue-poll?
A Vue.js component for showing a poll, with the voting options or the results.
Which Vue version does it need?
The README lists Vue.js 2 as the prerequisite.
Can people choose more than one answer?
Yes. Set multiple to true, and voters send their choices with a submit button whose text defaults to Submit.
What license is it under?
The MIT licence, as the README states.
What are the best vue-poll alternatives?
Popular alternatives to vue-poll include vue-ellipse-progress, vue-github-buttons and vuejs-datepicker. See all vue-poll alternatives


















