【文件属性】:
文件名称:Popelt:Popelt - 轻量级响应动态模态弹出 jQuery 库
文件大小:16KB
文件格式:ZIP
更新时间:2021-06-11 15:43:38
HTML
教皇
轻量级响应动态模态弹出 jQuery 库
检查:和
下载:(5kb)
特征
模态
React灵敏
动态按钮
动态内容 - Ajax 、 Iframe或模板
第一个输入焦点
动态定位
逃脱关闭
多个/嵌套弹出窗口和开放堆栈处理
动态叠加背景颜色和不透明度
使用简单
IE7+兼容性
极轻量级(仅压缩约 5kb)
例子
var MyPopup = new Popelt({
title: 'Pop some cash',
content: ''Hey wasup! This is my content.'
}).show();
方法
方法名称
参数
描述
添加按钮
标签 [,class] [,clickEvent]
**标签** - 按钮上的名称 **class** - custom class to give to the button [optional