placements.js 607 B

12345678910111213141516171819202122232425262728293031323334
  1. 'use strict';
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. var autoAdjustOverflow = {
  6. adjustX: 1,
  7. adjustY: 1
  8. };
  9. var placements = exports.placements = {
  10. topLeft: {
  11. points: ['bl', 'tl'],
  12. overflow: autoAdjustOverflow,
  13. offset: [0, -7]
  14. },
  15. bottomLeft: {
  16. points: ['tl', 'bl'],
  17. overflow: autoAdjustOverflow,
  18. offset: [0, 7]
  19. },
  20. leftTop: {
  21. points: ['tr', 'tl'],
  22. overflow: autoAdjustOverflow,
  23. offset: [-4, 0]
  24. },
  25. rightTop: {
  26. points: ['tl', 'tr'],
  27. overflow: autoAdjustOverflow,
  28. offset: [4, 0]
  29. }
  30. };
  31. exports['default'] = placements;