New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

popover-func-element-ui

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

popover-func-element-ui

popover-func-element-ui 是一个基于Vue对Element-ui 中el-dialog,el-popover,el-drawer 的函数式调用库

  • 1.0.3
  • npm
  • Socket score

Version published
Weekly downloads
2
increased by100%
Maintainers
1
Weekly downloads
 
Created
Source
介绍

popover-func-element-ui 是一个基于Vue对Element-ui 中el-dialog,el-popover,el-drawer 的函数式调用库

安装

npm i popover-func-element-ui

dialog 函数案列

import { dialog } from 'popover-func-element-ui' 引入需要展示的组件 import HelloWorld from './components/HelloWorld.vue'

      dialog(component,dialogOptions,componentProps,headerComponent,footerComponent).then(res => {
        console.log(res,"res");
      }).catch(error => {
        console.log(error, "error");
      })

dialog 参数说明

参数类型含义
component组件需要使用dialog 展示的组件
dialogOptionsObjectel-dialog 的props 属性,参照el-dialog
componentPropsObject对于 component 组件的 props 传值
headerComponent组件自定义dialog 头部组件
footerComponent组件自定义dialog 尾部组件

FAQs

Package last updated on 30 Mar 2023

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

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc