source:
imaps-frontend/node_modules/@popperjs/core/lib/utils/getMainAxisFromPlacement.js
Last change on this file was d565449, checked in by , 4 weeks ago | |
---|---|
|
|
File size: 127 bytes |
Line | |
---|---|
1 | export default function getMainAxisFromPlacement(placement) { |
2 | return ['top', 'bottom'].indexOf(placement) >= 0 ? 'x' : 'y'; |
3 | } |
Note:
See TracBrowser
for help on using the repository browser.