Preparing search index...
The search index is not available
@supuwoerc/utils
@supuwoerc/utils
css
hasClass
Function hasClass
has
Class
(
element
,
className
)
:
boolean
Description
判断DOM元素是否存在className
Parameters
element
:
HTMLElement
DOM元素
className
:
string
class类名
Returns
boolean
元素是否存在该class
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
@supuwoerc/utils
core
Storage
clear
All
Cookie
ensure
Prefix
ensure
Suffix
flow
Func
generateUUID
get
Array
Item
get
Cookie
get
Query
Param
get
Query
Params
move
Array
Item
remove
Array
Item
save
File
set
Cookie
swap
Array
Item
to
String
uniq
unique
By
core/types
Equal
Func
Storage
Options
css
add
Class
get
Element
Selector
has
Class
remove
Class
tree
array2
Tree
get
Parents
get
Target
From
Tree
tree2
Array
tree/types
Tree
Node
Equal
Func
Tree
vendor
debounce
throttle
verdict
is
Boolean
is
Date
is
Defined
is
Function
is
Http
Or
Https
is
Mobile
is
Null
is
Number
is
Object
is
Pc
is
Reg
Exp
is
String
is
Support
Font
Family
is
Undefined
Generated using
TypeDoc
Description
判断DOM元素是否存在className