UNPKG
@qvant/qui-max
Version:
latest (0.19.0)
0.19.0
0.18.3
0.18.2
0.18.1
0.18.0
0.17.0
0.16.1
0.16.0
0.15.0
0.14.0
0.13.0
0.12.0
0.11.0
0.10.1
0.10.0
0.9.1
0.9.0
0.8.0
0.7.0
0.6.3
0.6.2
0.6.1
0.6.0
0.5.0
0.4.0
0.3.0
0.2.0
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
A Vue 3 Design system for Web.
github.com/Qvant-lab/qui-max
Qvant-lab/qui-max
@qvant/qui-max
/
dist
/
node_modules
/
@popperjs
/
core
/
lib
/
utils
/
getMainAxisFromPlacement.js
6 lines
(5 loc)
•
214 B
JavaScript
View Raw
1
2
3
4
5
6
function
getMainAxisFromPlacement
(
placement
) {
return
[
"top"
,
"bottom"
].
indexOf
(placement) >=
0
?
"x"
:
"y"
; }
export
{ getMainAxisFromPlacement
as
default
};
//# sourceMappingURL=getMainAxisFromPlacement.js.map