javascript - 如何为 fullcalendar 3.9 / bootstrap 4 的事件添加工具提示
问题描述
我在我的 Laravel 8 / jQuery 3.5.1 / bootstrap 4.5.3 应用程序中使用 fullcalendar 3.9.0 我想在方法中为事件项的标题添加工具提示
eventRender: function (eventInfo, element, view) {
...
在引导工具提示中添加了道具:
<button type="button" class="btn btn-secondary" data-toggle="tooltip" data-placement="right" title="" data-original-title="Tooltip on right">Right</button>
我想知道是否有办法将属性 data-toggle、data-placement、data-original-title 分配给事件元素,它在控制台中有输出:https ://prnt.sc/wjndg3
如果是,如何?
谢谢
解决方案
推荐阅读
- javascript - React Native:React Navigation StackNavigator 不起作用。出现错误:“未定义不是对象(正在评估'_this3.props.navigation.navigate')”
- python - Python:将字典存储在多个 json 文件中
- json - tMongoDBOutput - 配置 JSON 树
- tensorflow - Capsule Network 在实践中真的是旋转不变的吗?
- java - 如何在 Selenium 中打印没有任何属性的子菜单链接
- android - 减少textview android中的行间距
- java - 如何使用具有自定义标头的 log4j 制作日志?
- python - 在python中转换为浮点日期
- python - 如何在 Python 中将数组转换为矩阵
- c++ - 在宏中加入前 n-1 个参数