Angularjs 日历角
各位早上好,, 我将calendar angularjs与库fullcalendar.js一起使用。这个地方是全天(位于第七天)我应该添加按钮。我想知道你是怎么想的?在库中,我应该使用fullcalendar.js renderhtml,但我不知道如何使用它。我请你帮忙 这是我的密码: fullcalendar.js我应该在angularjs中更改的部分Angularjs 日历角,angularjs,calendar,fullcalendar,Angularjs,Calendar,Fullcalendar,各位早上好,, 我将calendar angularjs与库fullcalendar.js一起使用。这个地方是全天(位于第七天)我应该添加按钮。我想知道你是怎么想的?在库中,我应该使用fullcalendar.js renderhtml,但我不知道如何使用它。我请你帮忙 这是我的密码: fullcalendar.js我应该在angularjs中更改的部分 renderHtml: function() { return '' + '<table>
renderHtml: function() {
return '' +
'<table>' +
'<thead class="fc-head">' +
'<tr>' +
'<td class="' + this.widgetHeaderClass + '">' +
this.timeGrid.headHtml() + // render the day-of-week headers
'</td>' +
'</tr>' +
'</thead>' +
'<tbody class="fc-body">' +
'<tr>' +
'<td class="' + this.widgetContentClass + '">' +
(this.dayGrid ?
'<div class="fc-day-grid"/>' +
'<hr class="fc-divider ' + this.widgetHeaderClass + '"/>' :
''
) +
'<div class="fc-time-grid-container">' +
'<div class="fc-time-grid"/>' +
'</div>' +
'</td>' +
'</tr>' +
'</tbody>' +
'</table>';
},
renderHtml:function(){
返回“”+
'' +
'' +
'' +
'' +
this.timeGrid.headHtml()+//呈现星期几标题
'' +
'' +
'' +
'' +
'' +
'' +
(这是dayGrid吗?
'' +
“
”:
''
) +
'' +
'' +
'' +
'' +
'' +
'' +
'';
},
fullcalendar.js我应该在angularjs中更改的日期
renderHtml:函数(){
返回“”+
'' +
'' +
'' +
'' +
this.timeGrid.headHtml()+//呈现星期几标题
'' +
'' +
'' +
'' +
'' +
'' +
(这是dayGrid吗?
'' +
“
”:
''
) +
'' +
'' +
'' +
'' +
'' +
'' +
'';
},
请提供plunker。这很困难。欢迎使用堆栈溢出!额外的解释会改进你的答案。
fullcalendar.js the aprte I should change in angularjs
renderHtml: function() {
return '' +
'<table>' +
'<thead class="fc-head">' +
'<tr>' +
'<td class="' + this.widgetHeaderClass + '">' +
this.timeGrid.headHtml() + // render the day-of-week headers
'</td>' +
'</tr>' +
'</thead>' +
'<tbody class="fc-body">' +
'<tr>' +
'<td class="' + this.widgetContentClass + '">' +
(this.dayGrid ?
'<div class="fc-day-grid"/>' +
'<hr class="fc-divider ' + this.widgetHeaderClass + '"/>' :
''
) +
'<div class="fc-time-grid-container">' +
'<div class="fc-time-grid"/>' +
'</div>' +
'</td>' +
'</tr>' +
'</tbody>' +
'</table>';
},