All Wisconsin does is win


“;
},
unbind: function () {

}
});

Vue.partial(‘commentary-partial’, ‘{{{c.commentary}}}’);

var post = {};

// Bind the UI
var $livepost = {};

$livepost.view =

new Vue({
el: ‘#vueLivePost’,
data: {
comments: [],
post: post,
isZenModeActive: false,
isManageActive: false,
liveToggle: false,
liveToggleLoader: false,
sendBtnLoader: false
},
computed: {
zenModeText: function () {
return this.isZenModeActive ? ‘Close’ : ‘Enter’;
},
submitBtnText: function () {

if (!this.liveToggle) {
return “Submit Non-Live Post”;
}
else if (!this.post.editing && this.liveToggle) {
return “Send Live Post”;
} else if (this.post.editing) {
return “Update Post”;
}
},
liveActiveBlurb: function () {

if (this.liveToggle) {
return ‘You are currently blogging LIVE.’
}

Read the full article from the Source…

Back to Top