mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-04 21:01:27 -05:00
13 lines
269 B
JavaScript
13 lines
269 B
JavaScript
export default Ember.Component.extend({
|
|
layoutName: "components/poll-voters",
|
|
tagName: 'ul',
|
|
classNames: ["poll-voters-list"],
|
|
isExpanded: false,
|
|
numOfVotersToShow: 20,
|
|
|
|
actions: {
|
|
toggleExpand() {
|
|
this.toggleProperty("isExpanded");
|
|
}
|
|
}
|
|
});
|