🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis
Socket
Book a DemoInstallSign in
Socket

vue-modal-parent-handler

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

vue-modal-parent-handler

Vue mixin for handling parent modal positioning

latest
Source
npmnpm
Version
1.0.1
Version published
Weekly downloads
1
-50%
Maintainers
1
Weekly downloads
 
Created
Source

vue-modal-parent-handler

Vue 2 混入(Mixin)用于处理父级模态框定位

功能特性

  • 自动计算模态框相对于父容器的位置
  • 响应式调整位置
  • 轻量级实现,无额外依赖

安装

npm install vue-modal-parent-handler
# 或
yarn add vue-modal-parent-handler

使用

在你的 Vue Modal 组件中引入并应用该混入:

import ModalParentHandler from 'vue-modal-parent-handler'

export default {
  mixins: [ModalParentHandler],
  // ... 组件其他选项
}

Keywords

vue

FAQs

Package last updated on 15 Apr 2025

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