Comments (2)
请问怎样可以配置概率 或者可不可以接口返回哪个值 之后转盘就转到哪个值
抱歉 看到文档了 知道怎么弄了 给力
from lucky-canvas.
在stop
方法中传入中奖索引即可实现控制概率, 用的顺手可以点个star
支持一下
from lucky-canvas.
Related Issues (20)
- 九宫格uniapp小程序体验版真机报错 HOT 1
- 怎样让 `LuckyWheel` 组件的 prizes 文字径向显示而非换行 HOT 2
- @lucky-canvas/react 版本0.1.13不支持2k和4k屏中背景图片满屏铺吗?
- 希望uni-app 的版本支持下自定义转盘的rpxCalcMaxDeviceWidth HOT 1
- vue升级2.7的时候此组件不能用了,会报@vue/composition-api 2.7警告 HOT 1
- TypeError: Failed to execute 'putImageData' on 'CanvasRenderingContext2D' HOT 4
- 老虎机奖品图片有高度限制
- 在swiper中,effect(切换效果)设置为‘fade’,点击大转盘开始按钮,事件不会触发 HOT 2
- react 18 import error
- 功能提示 HOT 2
- Vue3.X版本 依赖有问题 The requested module 'vue-demi' does not provide an export named 'computed' HOT 2
- 关于原生微信小程序buttons渲染问题 HOT 1
- react 项目引入依赖有报错警告
- npm错 HOT 1
- uniapp 开发,模拟器正常显示奖品图片,体验版不能正常显示 HOT 2
- 转盘旋转可以指定动画曲线嘛? HOT 1
- 老虎机在taro中停止后变模糊 HOT 1
- 大佬能不能有个设置图片圆角的属性
- 老虎机在IOS中有性能问题,会导致页面不停的加载刷新
- 奖品背景图是否支持动图 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lucky-canvas.