
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
popover-func-element-ui
Advanced tools
popover-func-element-ui 是一个基于Vue对Element-ui 中el-dialog,el-popover,el-drawer 的函数式调用库
popover-func-element-ui 是一个基于Vue对Element-ui 中el-dialog,el-popover,el-drawer 的函数式调用库
npm i popover-func-element-ui
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 展示的组件 |
dialogOptions | Object | el-dialog 的props 属性,参照el-dialog |
componentProps | Object | 对于 component 组件的 props 传值 |
headerComponent | 组件 | 自定义dialog 头部组件 |
footerComponent | 组件 | 自定义dialog 尾部组件 |
FAQs
## Project setup ``` npm install ```
The npm package popover-func-element-ui receives a total of 2 weekly downloads. As such, popover-func-element-ui popularity was classified as not popular.
We found that popover-func-element-ui demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.