react-big-calender如何获取悬停方法以及如何为日期栏添加边框?

时间:2019-04-01 13:18:37

标签: reactjs react-big-calendar

我没有任何文档可以给我提供有关大日历的悬停方法的解决方案,并且还可以将CSS应用于日期槽。

2 个答案:

答案 0 :(得分:0)

请参阅此处的FullCalender文档:https://fullcalendar.io/docs/event-clicking-hovering

答案 1 :(得分:0)

我们可以通过以下方式使用 <plugin> <artifactId>maven-surefire-plugin</artifactId> <!-- latest version does not work well with JUnit5 --> <version>2.19.1</version> <dependencies> <dependency> <groupId>org.junit.platform</groupId> <artifactId>junit-platform-surefire-provider</artifactId> <version>1.0.3</version> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-engine</artifactId> <version>5.0.3</version> </dependency> </dependencies> </plugin>

eventStyleGetter

然后在您的组件中可以使用这种const eventStyleGetter = ( start, isSelected) => { var style = { //whatever styles you wana give }; return { className: "yourclassname", style: style, }; }; 方式。

相关问题