UNPKG
kitten-components
Version:
latest (23.17.0)
23.17.0
23.16.1
23.16.0
23.15.0
23.14.0
23.13.0
23.12.0
23.11.4
23.11.3
23.11.2
23.11.1
23.11.0
23.10.1
23.10.0
23.9.0
23.8.0
23.7.0
23.6.0
23.5.1
23.5.0
23.4.0
23.3.0
23.2.1
23.2.0
23.1.0
23.0.0
22.2.0
22.1.1
22.1.0
22.0.0
21.4.0
21.3.2
21.3.1
21.3.0
21.2.0
21.1.0
21.0.1
21.0.0
20.17.0
20.16.0
20.15.0
20.14.0
20.13.0
20.12.3
20.12.2
20.12.1
20.12.0
20.11.0
20.10.0
20.9.0
20.8.0
20.7.1
20.7.0
20.6.0
20.5.0
20.4.1
20.4.0
20.3.0
20.2.0
20.1.0
20.0.2
20.0.1
20.0.0
19.5.0
19.4.1
19.4.0
19.3.1
19.3.0
19.2.1
19.2.0
19.1.0
19.0.0
18.1.0
18.0.0
17.1.0
17.0.0
16.3.1
16.3.0
16.2.0
16.1.0
16.0.1
16.0.0
15.0.0
14.6.0
14.5.0
14.4.0
14.3.0
14.2.1
14.2.0
14.1.4
14.1.3
14.0.3
14.0.2
14.0.1
14.0.0
13.11.0
13.10.0
13.9.1
13.9.0
13.8.0
13.7.0
13.6.1
13.6.0
13.5.0
13.4.0
13.3.1
13.3.0
13.2.1
13.1.1
13.1.0
13.0.0
12.1.0
12.0.0
11.11.0
11.10.0
11.9.0
11.8.1
11.8.0
11.7.0
11.6.0
11.5.0
11.4.0
11.3.0
11.2.0
11.1.0
11.0.0
10.2.0
10.1.0
10.0.0
9.5.0
9.4.0
9.3.0
9.2.0
9.1.0
9.0.0
8.7.0
8.6.0
8.5.0
8.4.0
8.3.0
8.2.1
8.2.0
8.1.0
8.0.0
7.1.0
7.0.0
6.4.0
6.3.0
6.2.0
6.1.0
6.0.0
5.10.0
5.9.0
5.8.0
5.7.0
5.6.0
5.5.0
5.4.0
5.3.0
5.2.0
5.1.0
5.0.0
4.4.0
4.3.0
4.2.0
4.1.0
4.0.0
3.1.0
3.0.0
Front-end components library
github.com/KissKissBankBank/kitten
KissKissBankBank/kitten
kitten-components
/
assets
/
javascripts
/
kitten
/
helpers
/
utils
/
feature-detection.js
12 lines
(10 loc)
•
258 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
export
const
cssSupports
= supportCondition => {
if
(
typeof
window
===
'undefined'
||
typeof
window
.
CSS
===
'undefined'
||
typeof
window
.
CSS
.
supports
===
'undefined'
) {
return
false
}
return
window
.
CSS
.
supports
(supportCondition) }