
Product
Introducing Tier 1 Reachability: Precision CVE Triage for Enterprise Teams
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
A Vue.js 2.0 UI Toolkit for Web
用于页面中展示重要的提示信息(强提示需要手动关闭)。
页面中的非浮层元素,不会自动消失。
组件提供四种主题,由type
属性指定,默认值为info
。
/*
* message
* type:'info', 'warn', 'error', 'ok'
* 支持只传入一个String类型的message
*/
this.$alert({
message: 'aaa',
type: 'ok'
});
or;
this.$alert('aaa');
/*
* title
* cancelTxt
* confirmTxt
* cancelFunc
* confirmFunc
* isShowTitle
* useConfirm
*/
this.$confirm({
title: '我是自定义标题',
message: '确认创建社群【{siteName}\n名称一经确认将无法修改',
confirmTxt: '好的👌',
cancelTxt: '不好👎',
confirm: function() {
console.log('confirm');
},
cancel: function() {
console.log('cancel');
}
});
/*
* message
* autoClose
* duration
*/
this.$notify({
message: '壹贰叁肆伍陆柒捌玖拾',
autoClose: false',
duration: 2000
});
or;
this.$notify('壹贰叁肆伍陆柒捌玖拾');
组件提供四种主题,由type
属性指定,默认值为info
。
/*
* message
* autoClose
* duration
* callBack
* style A:保留之前正方形样式 B:长方形样式
*/
this.$toast({
message: '已删除此贴并将对方踢出本群',
callBack: function() {
console.log('toast over');
},
style: 'B'
});
or;
this.$toast('壹贰叁肆伍陆柒捌玖拾');
/*
* title
* confirmFunc
*/
this.$prompt({
title: '我是自定义标题',
confirm: function(code, hide) {
console.log('====================================');
console.log('不好👎');
console.log('====================================');
hide();
}
});
FAQs
A Vue.js 2.0 UI Toolkit for Web
We found that qu-ui 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.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
Research
/Security News
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.