# All files / positioning constants.ts

100% Statements 126/126
100% Branches 0/0
100% Functions 0/0
100% Lines 126/126

Press n or j to go to the next uncovered block, b, p or k for the previous block.

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    1271x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
     import type { PositionAnchor } from "./types.js";

    export const ABOVE_LEFT_ANCHOR: PositionAnchor = {
      x: "left",
      y: "above",
    };

    export const ABOVE_INNER_LEFT_ANCHOR: PositionAnchor = {
      x: "inner-left",
      y: "above",
    };

    export const ABOVE_CENTER_ANCHOR: PositionAnchor = {
      x: "center",
      y: "above",
    };

    export const ABOVE_INNER_RIGHT_ANCHOR: PositionAnchor = {
      x: "inner-right",
      y: "above",
    };

    export const ABOVE_RIGHT_ANCHOR: PositionAnchor = {
      x: "right",
      y: "above",
    };

    export const TOP_LEFT_ANCHOR: PositionAnchor = {
      x: "left",
      y: "top",
    };

    export const TOP_INNER_LEFT_ANCHOR: PositionAnchor = {
      x: "inner-left",
      y: "top",
    };

    export const TOP_CENTER_ANCHOR: PositionAnchor = {
      x: "center",
      y: "top",
    };

    export const TOP_INNER_RIGHT_ANCHOR: PositionAnchor = {
      x: "inner-right",
      y: "top",
    };

    export const TOP_RIGHT_ANCHOR: PositionAnchor = {
      x: "right",
      y: "top",
    };

    export const CENTER_LEFT_ANCHOR: PositionAnchor = {
      x: "left",
      y: "center",
    };

    export const CENTER_INNER_LEFT_ANCHOR: PositionAnchor = {
      x: "inner-left",
      y: "center",
    };

    export const CENTER_CENTER_ANCHOR: PositionAnchor = {
      x: "center",
      y: "center",
    };

    export const CENTER_INNER_RIGHT_ANCHOR: PositionAnchor = {
      x: "inner-right",
      y: "center",
    };

    export const CENTER_RIGHT_ANCHOR: PositionAnchor = {
      x: "right",
      y: "center",
    };

    export const BOTTOM_LEFT_ANCHOR: PositionAnchor = {
      x: "left",
      y: "bottom",
    };

    export const BOTTOM_INNER_LEFT_ANCHOR: PositionAnchor = {
      x: "inner-left",
      y: "bottom",
    };

    export const BOTTOM_CENTER_ANCHOR: PositionAnchor = {
      x: "center",
      y: "bottom",
    };

    export const BOTTOM_INNER_RIGHT_ANCHOR: PositionAnchor = {
      x: "inner-right",
      y: "bottom",
    };

    export const BOTTOM_RIGHT_ANCHOR: PositionAnchor = {
      x: "right",
      y: "bottom",
    };

    export const BELOW_LEFT_ANCHOR: PositionAnchor = {
      x: "left",
      y: "below",
    };

    export const BELOW_INNER_LEFT_ANCHOR: PositionAnchor = {
      x: "inner-left",
      y: "below",
    };

    export const BELOW_CENTER_ANCHOR: PositionAnchor = {
      x: "center",
      y: "below",
    };

    export const BELOW_INNER_RIGHT_ANCHOR: PositionAnchor = {
      x: "inner-right",
      y: "below",
    };

    export const BELOW_RIGHT_ANCHOR: PositionAnchor = {
      x: "right",
      y: "below",
    };