Socket
Book a DemoInstallSign in
Socket

black-hook-ui

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

black-hook-ui

A Vue.js project

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

Install

yarn add black-book-ui

Quick Start

import Vue from 'vue'
import BlackBookUi from 'black-book-ui'

Vue.use(BlackBookUi)

Demo

Loading组件

显示Loading:this.$showLoading()

隐藏Loading:$hideLoading()

Toast组件

this.$toast({title: '提示文字'})

Alert组件

 this.$alert({
        title: '你有我帅嘛?'
      })

参数说明:

  • title : 提示标题

  • content : 提示内容

  • confirmText :确认按钮的文本,默认为"确定"

  • cancelText :退出按钮的文本,默认为"取消"

  • showCancel :是否显示取消按钮,转为true

  • theme:完善中

  • type:完善中

Keywords

vue

FAQs

Package last updated on 11 Jun 2019

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