Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@rancheer/marquee

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rancheer/marquee

配置属性 | props属性 | 类型 | 默认值| 描述 | ---- | ---- | ---- | ---- | | showMarquee | Boolean | false | 控制跑马灯显示隐藏 | | showButton | Boolean | false | 是否显示控制按钮 | | marqueelist | Array | [] | 跑马灯数据|

  • 1.0.0
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

微信组件 - 无限循环跑马灯

配置属性

props属性类型默认值描述
showMarqueeBooleanfalse控制跑马灯显示隐藏
showButtonBooleanfalse是否显示控制按钮
marqueelistArray[]跑马灯数据

案例

wxml

    <marquee
        showMarquee="{{showMarquee}}"
        marqueelist="{{marqueelist}}"
        showButton="{{true}}"
        bind:onNaviHandle="onMarqueeNaviHandle"
        bind:onMarqueeClose="onMarqueeClose"
    ></marquee>

js

data: {
    showMarquee: false,
    marqueelist: [],
},
onMarqueeNaviHandle () {},
onMarqueeClose (e) {}

FAQs

Package last updated on 24 Dec 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc