
Product
Introducing Repository Access Permissions and Custom Roles
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.
ellipsis-vue3
Advanced tools
一个 vue3 版本的自定义指令,用于溢出隐藏时鼠标悬浮显示所有内容
支持 ts 和 js
npm install ellipsis-vue3
import ellipsis from 'ellipsis-vue3'
createApp(App).use(ellipsis)
<!-- 使用 v-ellipsis 指令 -->
<span v-ellipsis style="width: 100%;">默认单行文本溢出隐藏并以...显示</span>
<!-- 超过指定行数隐藏 -->
<span v-ellipsis="2" style="width: 100%;">如果给定参数,则是多行文本溢出隐藏并以...显示</span>
FAQs
vue3版 溢出隐藏指令
The npm package ellipsis-vue3 receives a total of 20 weekly downloads. As such, ellipsis-vue3 popularity was classified as not popular.
We found that ellipsis-vue3 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.

Product
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.

Product
Socket MCP now lets AI assistants review org alerts, investigate threats using the Socket threat feed, and inspect package files in addition to dependency scoring.

Product
Socket Firewall blocks malicious VS Code and Open VSX extensions before install, protecting developers from compromised editor marketplaces.