New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

vue-confirm

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-confirm

一个带消息的和确定取消对话框 Confirm cancel dialog box

latest
Source
npmnpm
Version
1.2.1
Version published
Maintainers
1
Created
Source

vue-confirm

  • 基于 vue 2.0 开发的confirm对话框插件
  • 占用内存小,性能好,样式好看

Install

npm i vue-confirm  --save

Quick Start Usage

//main.js中引入
import Confirm from 'vue-confirm'
Vue.use(Confirm)

在某个vue文件中使用
this.$confirm(content);

//举例  点击确定和取消之后有回调函数的
this.$confirm("是否确定").then(
	function(){
	console.log("点击确定")
}
).catch(	function(){
	console.log("点击取消")
})

Keywords

vue-confirm

FAQs

Package last updated on 16 Dec 2017

Did you know?

Socket

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.

Install

Related posts