1.1.0 • Published 1 year ago

@mingjs/utils v1.1.0

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

快速开始

文档地址:https://amazing-ming.netlify.app/ 建设中

安装

npm i @mingjs/utils

简单使用

hasClass 查看元素上是否有相关类

<script setup lang="ts">
import { hasClass } from '@mingjs/utils'
import { ref } from 'vue'

const el = ref(null) // 某元素

const has = hasClass(el, 'className1')

console.log(has) // true||false
</script>

各类工具函数来自从各种UI库,或者来自各类博客、社区中,如有侵权,请在Issues中告知

1.1.0

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago