- 博客(3)
- 资源 (1)
- 收藏
- 关注
原创 使用javascript实现简单的Toast功能
Toast.js//暴露给外部的方法export default function (string, time) { time = time || 3; const message = new Message(string, time); message.showAndHide();}let Message = function (message, time) { ...
2019-03-21 15:14:02
2613
原创 移动端Safari下文件上传的一个bug
I'm facing the same issue with File and Safari. After some research I found a solution that seems to work for me... hope it will be useful for you:Instead of using new File, i append name and lastM...
2019-03-21 15:07:34
840
原创 React Modal 的一种粗暴实现
React Modal 的一种粗暴实现modal什么的很好做不就是个bool吗,要么显示要么隐藏。一开始这个modal很简单,const modal =(isShow)=><div style={{display:isShow?"block":"none"}}>Balbala</div>但是这个样子的modal很突兀,很粗暴,连你自己也忍不住想加一个fade动画的吧。在jquery里面那是相当好用,
2017-06-29 16:37:53
8058
最新 最真实 最爽vb 恶作剧程序源代码
2011-02-17
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人