UNPKG
@fancyapps/ui
Version:
alpha (4.0.0-alpha.0)
latest (6.0.15)
6.0.15
6.0.14
6.0.13
6.0.12
6.0.11
6.0.10
6.0.9
6.0.8
6.0.7
6.0.6
6.0.5
6.0.4
6.0.3
6.0.2
6.0.1
6.0.0
5.0.36
5.0.35
5.0.34
5.0.33
5.0.32
5.0.31
5.0.30
5.0.29
5.0.28
5.0.27
5.0.26
5.0.25
5.0.24
5.0.23
5.0.22
5.0.21
5.0.20
5.0.19
5.0.18
5.0.17
5.0.16
5.0.15
5.0.14
5.0.13
5.0.12
5.0.11
5.0.10
5.0.9
5.0.8
5.0.7
5.0.6
5.0.5
5.0.4
5.0.3
5.0.2
5.0.1
5.0.0
4.0.31
4.0.30
4.0.29
4.0.28
4.0.27
4.0.26
4.0.25
4.0.24
4.0.23
4.0.22
4.0.21
4.0.20
4.0.19
4.0.18
4.0.17
4.0.16
4.0.15
4.0.14
4.0.13
4.0.12
4.0.11
4.0.10
4.0.9
4.0.8
4.0.7
4.0.6
4.0.5
4.0.4
4.0.3
4.0.2
4.0.1
4.0.0
4.0.0-beta.4
4.0.0-beta.3
4.0.0-beta.2
4.0.0-beta.1
4.0.0-beta.0
4.0.0-alpha.4
4.0.0-alpha.3
4.0.0-alpha.2
4.0.0-alpha.1
4.0.0-alpha.0
Robust JavaScript UI Component Library
fancyapps.com
fancyapps/ui
@fancyapps/ui
/
dist
/
utils
/
addClass.js
3 lines
(2 loc)
•
158 B
JavaScript
View Raw
1
2
3
/*! License details at fancyapps.com/license */
const
s
=(
s,t=
""
)=>{s&&s.
classList
&&t.
split
(
" "
).
forEach
((
t
=>
{t&&s.
classList
.
add
(t)}))};
export
{s
as
addClass};