react抛物线小球
写了个小球,方便自己以后用
API | 说明 | 类型 |
---|---|---|
terminal | 终点坐标 | Object |
origin | 起点坐标 | Object |
id | 小球id | String |
complete | 落到终点的函数 | Function |
使用说明:在父组件中需要获取起点坐标和终点坐标,并且需要定义一个state,(balls)来存储小球。当小球落到终点后,complete接收id作为参数,根据id来把小球删除
There are no reviews yet. Be the first to send feedback to the community and the maintainers!
react-source-code-debug
React 源码调试环境,源代码详细注释,跟随官方仓库进行更新private-project
一些基于React、Vue、Node.js、MongoDB技术栈的实践项目react-music-webapp
一款基于React构建的音乐播放器 A music webapp build with react and antd-mobilereact-music-player
React,TS的音乐播放插件,歌词同步功能,适配PC和移动端;A music player build with react and typescript for mobile and PCDynamic_effect
平时练习的一些前端动效,基于HTML5,CSS3,Canvas,Svgvue-backage
基于vue和iview的后台管理系统react-cnode-touch
webpack架设react&node.js工程化开发架构实战,开发技术论坛react-music
webSocketDemo
WebSocket demo with express express-wsreact-ssr
react-ssr理解练习vue-vue-router-vuex-ssr
工程架构练习neroht
个人网站,React 服务端渲染实践notes-of-fronts
前端学习笔记content-viewer
内容查看器react-router-source-code-env
react-router源码调试环境react-shop
Love Open Source and this site? Check out how you can help us