sdsn-component-v3
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

示例

全局引入

//app.vue

import sdsn from "sdsn-component-v3"
createApp(App).use(sdsn).mount("#app")
<div v-ellipsis="2">
  假设你还未点击页面中的其他地方,那么上面这个 input 元素应该会被自动聚焦。该指令比 autofocus attribute 更有用,因为它不仅仅可以在页面加载完成后生效,还可以在 Vue 动态插入元素后生效。
</div>

Readme

Keywords

none

Package Sidebar

Install

npm i sdsn-component-v3

Weekly Downloads

1

Version

0.0.1

License

none

Unpacked Size

6.17 kB

Total Files

9

Last publish

Collaborators

  • suodesinai