Skip to content

KBE3D / KBCore / utils / getClass

函数: getClass()

getClass(el: HTMLElement | SVGElement): string

获取dom元素上的class样式名称

参数

el

DOM元素

HTMLElement | SVGElement

返回

string

class样式名称

KBE3D @3.0.0 Copyright © 2024-present KBE3D