FullCalendar 和 qTip。帮助将描述描述为数组
我对负载描述有疑问。我通过 ajax 得到答案,这是 JSON 部分信息:
{"id":"","start":1282561200,"end":1282564800,"title":"admin admin","description":[["Alcatel-6850, ","Alcatel-6400, "]]}
这是渲染事件的代码:
eventRender: function(event, element) {
element.qtip({
content : event.description,
position: {
corner: {
tooltip: 'bottomLeft',
target: 'topRight'
}
},
style : {
width: 200,
padding: 5,
//background: '#A2D959',
color: 'black',
textAlign: 'center',
border: {
width: 2,
radius: 5,
color: '#A2D959'
},
tip: 'bottomLeft',
name: 'blue'
}
});
如何将此描述数组加载到工具提示。
I have problem with load description. I'm getting answer via ajax this is JSON part information:
{"id":"","start":1282561200,"end":1282564800,"title":"admin admin","description":[["Alcatel-6850, ","Alcatel-6400, "]]}
This is code to rendering event:
eventRender: function(event, element) {
element.qtip({
content : event.description,
position: {
corner: {
tooltip: 'bottomLeft',
target: 'topRight'
}
},
style : {
width: 200,
padding: 5,
//background: '#A2D959',
color: 'black',
textAlign: 'center',
border: {
width: 2,
radius: 5,
color: '#A2D959'
},
tip: 'bottomLeft',
name: 'blue'
}
});
How to load this description array to tooltip.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是答案:
Here is answer: