Security News
CISA Brings KEV Data to GitHub
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.
amazeui-dialog
Advanced tools
Amaze UI Modal 插件 HTML 模板封装。
使用说明:
npm install amazeui-dialog
dist
目录下的 CSS):Amaze UI dialog 依赖 Amaze UI 样式。
<link rel="stylesheet" href="path/to/amazeui.min.css"/>
dist
目录下的 JS):<script src="path/to/jquery.min.js"></script>
<script src="path/to/amazeui.min.js"></script>
<script src="path/to/amazeui.dialog.min.js"></script>
AMUI.dialog.alert({
title: '错误提示',
content: '你的家还好吧',
onConfirm: function() {
console.log('close');
}
});
AMUI.dialog.confirm({
title: '错误提示',
content: '正文内容',
onConfirm: function() {
console.log('onConfirm');
},
onCancel: function() {
console.log('onCancel')
}
});
var $loading = AMUI.dialog.loading();
setTimeout(function() {
$loading.modal('close');
}, 3000);
var $actions = AMUI.dialog.actions({
title: '标题啊',
items: [
{content: '<a href="#"><span class="am-icon-wechat"></span> 分享到微信</a>'},
{content: '<a href="#"><i class="am-icon-mobile"></i> 短信分享</a>'},
{content: '<a href="#"><i class="am-icon-twitter"></i> 分享到 XX 萎跛</a>'}
],
onSelected: function(index, target) {
console.log(index);
$actions.close();
}
});
$actions.show();
AMUI.dialog.popup({title: '标题', content: '正文'});
FAQs
Amaze UI Modal 模板封装。
The npm package amazeui-dialog receives a total of 1 weekly downloads. As such, amazeui-dialog popularity was classified as not popular.
We found that amazeui-dialog demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.
Security News
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.