aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/util/placements.js
diff options
context:
space:
mode:
authorMG12 <wuzhao.mail@gmail.com>2015-11-19 11:59:53 +0800
committerMG12 <wuzhao.mail@gmail.com>2015-11-19 11:59:53 +0800
commite75ed0c6b89282cf475e94d6d5ad0fb35803f974 (patch)
tree2a98153d4d5d7953ec60d5e7a93e42d649cf54bf /src/util/placements.js
parentcadce7b210a339bb701f639c4bff65a2157e13de (diff)
downloadtime-picker-e75ed0c6b89282cf475e94d6d5ad0fb35803f974.tar.gz
time-picker-e75ed0c6b89282cf475e94d6d5ad0fb35803f974.tar.zst
time-picker-e75ed0c6b89282cf475e94d6d5ad0fb35803f974.zip
update placement handle0.5.60.5.5
Diffstat (limited to 'src/util/placements.js')
-rw-r--r--src/util/placements.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/util/placements.js b/src/util/placements.js
index 2574da1..6760286 100644
--- a/src/util/placements.js
+++ b/src/util/placements.js
@@ -6,25 +6,25 @@ const autoAdjustOverflow = {
6const targetOffset = [0, 0]; 6const targetOffset = [0, 0];
7 7
8const placements = { 8const placements = {
9 topLeft: { 9 bottomLeft: {
10 points: ['tl', 'tl'], 10 points: ['tl', 'tl'],
11 overflow: autoAdjustOverflow, 11 overflow: autoAdjustOverflow,
12 offset: [0, -3], 12 offset: [0, -3],
13 targetOffset, 13 targetOffset,
14 }, 14 },
15 topRight: { 15 bottomRight: {
16 points: ['tr', 'tr'], 16 points: ['tr', 'tr'],
17 overflow: autoAdjustOverflow, 17 overflow: autoAdjustOverflow,
18 offset: [0, -3], 18 offset: [0, -3],
19 targetOffset, 19 targetOffset,
20 }, 20 },
21 bottomRight: { 21 topRight: {
22 points: ['br', 'br'], 22 points: ['br', 'br'],
23 overflow: autoAdjustOverflow, 23 overflow: autoAdjustOverflow,
24 offset: [0, 3], 24 offset: [0, 3],
25 targetOffset, 25 targetOffset,
26 }, 26 },
27 bottomLeft: { 27 topLeft: {
28 points: ['bl', 'bl'], 28 points: ['bl', 'bl'],
29 overflow: autoAdjustOverflow, 29 overflow: autoAdjustOverflow,
30 offset: [0, 3], 30 offset: [0, 3],