# modal-function-call **Repository Path**: wxynf4/modal-function-call ## Basic Information - **Project Name**: modal-function-call - **Description**: 基于Element Plus函数式调起组件弹窗 - **Primary Language**: JavaScript - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-09-24 - **Last Updated**: 2022-09-27 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 基于Element Plus函数式调起组件弹窗 ## 安装 ``` yarn add modal-function-call ``` ## 用法 ``` // main.js import ModalFunctionCall from 'modal-function-call' app.use(ModalFunctionCall) //xxx.vue import { useModal } from "modal-function-call"; const { showModal, closeModal, getParams, onConfirm, onCancel, } = useModal(); ``` ### 详细用法看源码...