Socket
Socket
Sign inDemoInstall

modals-manage

Package Overview
Dependencies
0
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    modals-manage

a modals manage


Version published
Weekly downloads
0
Maintainers
1
Install size
23.4 kB
Created
Weekly downloads
 

Readme

Source

modals-manage

多弹窗管理的vue插件

插件的安装

NPM
npm i modals-manage
引入插件
import Vue from 'vue';
import ModalsManage from 'modals-manage';

Vue.use(ModalsManage);
调用
<modal-manage :currenModal="currenModal" @close="close" >
  <mm-content value='1' title="测试窗口" initwidth="400" >111111</mm-content>
  <mm-content value='2' title="测试窗口" initwidth="400" >111111</mm-content>
</modal-manage>

modal-manage

参数说明类型默认值
currenModal显示的弹窗标识Array[]
close弹窗关闭事件(返回被关闭弹窗标识)Function

mm-content (内容组件)

参数说明类型默认值
value弹窗标识String''
title弹窗标题String''
initwidth初始宽度String'600'
initheight初始高度String'400'

FAQs

Last updated on 22 Aug 2019

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc