没有合适的资源?快使用搜索试试~ 我知道了~
overlay:一个简单的叠加 UI 组件
共10个文件
html:2个
md:2个
css:2个
需积分: 20 0 下载量 92 浏览量
2021-07-02
20:46:48
上传
评论
收藏 4KB ZIP 举报
温馨提示
覆盖 一个简单的叠加 UI 组件。 安装 $ component install segmentio/overlay 例子 var overlay = require ( 'overlay' ) ; overlay ( ) . closeable ( ) ; // the body now has an overlay on it 应用程序接口 覆盖(目标) 在给定的target元素上显示叠加层,默认为document.body 。 #show(fn) 显示覆盖,可选择调用回调fn 。 发出showing和show 。 #隐藏(fn) 隐藏覆盖层,可选择调用回调fn 。 发出hiding和hide 。 #删除(fn) 从 DOM 中移除覆盖层,可选择调用回调fn 。 如果叠加层尚未隐藏,请先将其隐藏。 发出removing和remove 。 #closeable() 通过单击
资源推荐
资源详情
资源评论
收起资源包目录
overlay-master.zip (10个子文件)
overlay-master
.gitignore 16B
index.css 26B
component.json 566B
test
index.html 786B
History.md 192B
Readme.md 1KB
Makefile 225B
lib
index.css 139B
index.js 1KB
index.html 34B
共 10 条
- 1
资源评论
任念辰
- 粉丝: 49
- 资源: 4570
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功