这一段JS是什么意思

image.png

setTimeout(function() {

_g().getWidgetByName('report10').startMarquee({

offset: 5,

interval: 0.2,

stopOnHover: true,

to:'top'

});

}, 500);

FineReport lanst 发布于 2023-12-12 17:07
1min目标场景问卷 立即参与
回答问题
悬赏:3 F币 + 添加悬赏
提示:增加悬赏、完善问题、追问等操作,可使您的问题被置顶,并向所有关注者发送通知
共3回答
最佳回答
0
CT1448Lv5初级互助
发布于2023-12-12 17:10

setTimeout(function() {

_g().getWidgetByName('report0').startMarquee({

offset: 5, //每次滚动的距离,默认为 5px,单位为 px

interval: 0.2, //间隔时长,默认为 0.1s,单位为 s

stopOnHover: false, //鼠标悬停时是否暂停,默认为 true

//true:暂停 ;false:不暂停

to:'top' //滚动的方向,支持向上和向左,默认向上

// 'top':向上滚动 'left':向左滚动 'right':向右滚动 'bottom':向下滚动

});

}, 500); 

最佳回答
0
华莉星宸Lv6高级互助
发布于2023-12-12 17:10(编辑于 2023-12-12 17:11)

对报表块report10设置跑马灯效果

跑马灯接口-https://help.fanruan.com/finereport/doc-view-4299.html

image.png

最佳回答
0
Z4u3z1Lv6专家互助
发布于2023-12-12 17:10

延时500毫秒后让report10间隔0.2秒滚动5px

image.png

  • 3关注人数
  • 162浏览人数
  • 最后回答于:2023-12-12 17:11
    请选择关闭问题的原因
    确定 取消
    返回顶部