mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-20 20:42:44 -05:00
12 lines
446 B
JavaScript
12 lines
446 B
JavaScript
export default Em.View.extend({
|
|
templateName: "poll",
|
|
classNames: ["poll"],
|
|
attributeBindings: ["data-poll-type", "data-poll-name", "data-poll-status", "data-poll-public"],
|
|
|
|
poll: Em.computed.alias("controller.poll"),
|
|
|
|
"data-poll-type": Em.computed.alias("poll.type"),
|
|
"data-poll-name": Em.computed.alias("poll.name"),
|
|
"data-poll-status": Em.computed.alias("poll.status"),
|
|
"data-poll-public": Em.computed.alias("poll.public")
|
|
});
|