Socket
Book a DemoInstallSign in
Socket

vue-fxr-alert

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-fxr-alert

vue plugin alert

1.0.5
latest
npmnpm
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

github地址:

https://github.com/fuXiangRong/fxr-alert

使用方法

  • npm i vue-fxr-alert -S
  • 或 cnpm i vue-fxr-alert -S
  • import vueFxrAlert from 'vue-fxr-alert'
  • Vue.use(vueFxrAlert);

<script>
  export default {
    name: 'app',
    created(){
      //显示
      this.fxrAlert.show({
        title: '友情提示',
        content: '用户名不正确',
        onShow () {
          console.log('显示')
        },
        onHide () {
          console.log('确定按钮点击回调')
        }
      })

      // 隐藏
      this.fxrAlert.hide()
    }
  }
</script>

FAQs

Package last updated on 13 Oct 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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.