uikit 3.15.1-dev.a99898921 → 3.15.2-dev.07fe5036e
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/README.md +1 -1
- package/dist/css/uikit-core-rtl.css +1 -1
- package/dist/css/uikit-core-rtl.min.css +1 -1
- package/dist/css/uikit-core.css +1 -1
- package/dist/css/uikit-core.min.css +1 -1
- package/dist/css/uikit-rtl.css +1 -1
- package/dist/css/uikit-rtl.min.css +1 -1
- package/dist/css/uikit.css +1 -1
- package/dist/css/uikit.min.css +1 -1
- package/dist/js/components/countdown.js +1 -1
- package/dist/js/components/countdown.min.js +1 -1
- package/dist/js/components/filter.js +1 -1
- package/dist/js/components/filter.min.js +1 -1
- package/dist/js/components/lightbox-panel.js +1 -2
- package/dist/js/components/lightbox-panel.min.js +1 -1
- package/dist/js/components/lightbox.js +1 -2
- package/dist/js/components/lightbox.min.js +1 -1
- package/dist/js/components/notification.js +1 -1
- package/dist/js/components/notification.min.js +1 -1
- package/dist/js/components/parallax.js +1 -1
- package/dist/js/components/parallax.min.js +1 -1
- package/dist/js/components/slider-parallax.js +1 -1
- package/dist/js/components/slider-parallax.min.js +1 -1
- package/dist/js/components/slider.js +1 -1
- package/dist/js/components/slider.min.js +1 -1
- package/dist/js/components/slideshow-parallax.js +1 -1
- package/dist/js/components/slideshow-parallax.min.js +1 -1
- package/dist/js/components/slideshow.js +1 -1
- package/dist/js/components/slideshow.min.js +1 -1
- package/dist/js/components/sortable.js +1 -1
- package/dist/js/components/sortable.min.js +1 -1
- package/dist/js/components/tooltip.js +1 -1
- package/dist/js/components/tooltip.min.js +1 -1
- package/dist/js/components/upload.js +1 -1
- package/dist/js/components/upload.min.js +1 -1
- package/dist/js/uikit-core.js +64 -56
- package/dist/js/uikit-core.min.js +2 -2
- package/dist/js/uikit-icons.js +1 -1
- package/dist/js/uikit-icons.min.js +1 -1
- package/dist/js/uikit.js +64 -57
- package/dist/js/uikit.min.js +2 -2
- package/package.json +4 -4
- package/src/js/components/lightbox-panel.js +0 -1
- package/src/js/core/drop.js +21 -8
- package/src/js/core/navbar.js +16 -28
- package/src/js/core/scroll.js +1 -1
- package/src/js/core/video.js +5 -0
- package/src/js/util/position.js +4 -1
- package/tests/drop.html +36 -3
- package/tests/navbar.html +49 -31
- package/tests/position.html +1 -1
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "uikit",
|
|
3
3
|
"title": "UIkit",
|
|
4
4
|
"description": "UIkit is a lightweight and modular front-end framework for developing fast and powerful web interfaces.",
|
|
5
|
-
"version": "3.15.
|
|
5
|
+
"version": "3.15.2-dev.07fe5036e",
|
|
6
6
|
"main": "dist/js/uikit.js",
|
|
7
7
|
"style": "dist/css/uikit.css",
|
|
8
8
|
"sideEffects": [
|
|
@@ -41,9 +41,9 @@
|
|
|
41
41
|
"@rollup/plugin-replace": "^4.0.0",
|
|
42
42
|
"archiver": "^5.3.1",
|
|
43
43
|
"camelcase": "^7.0.0",
|
|
44
|
-
"clean-css": "^5.3.
|
|
44
|
+
"clean-css": "^5.3.1",
|
|
45
45
|
"dateformat": "^5.0.3",
|
|
46
|
-
"esbuild": "^0.14.
|
|
46
|
+
"esbuild": "^0.14.49",
|
|
47
47
|
"eslint": "^8.19.0",
|
|
48
48
|
"eslint-config-prettier": "^8.5.0",
|
|
49
49
|
"fs-extra": "^10.1.0",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"number-precision": "^1.5.2",
|
|
55
55
|
"p-limit": "^4.0.0",
|
|
56
56
|
"prettier": "^2.7.1",
|
|
57
|
-
"rollup": "^2.
|
|
57
|
+
"rollup": "^2.77.0",
|
|
58
58
|
"rollup-plugin-esbuild": "^4.9.1",
|
|
59
59
|
"rollup-plugin-html": "^0.2.1",
|
|
60
60
|
"rollup-plugin-modify": "^3.0.0",
|
package/src/js/core/drop.js
CHANGED
|
@@ -43,6 +43,8 @@ export default {
|
|
|
43
43
|
mode: 'list',
|
|
44
44
|
toggle: Boolean,
|
|
45
45
|
boundary: Boolean,
|
|
46
|
+
boundaryX: Boolean,
|
|
47
|
+
boundaryY: Boolean,
|
|
46
48
|
target: Boolean,
|
|
47
49
|
targetX: Boolean,
|
|
48
50
|
targetY: Boolean,
|
|
@@ -59,6 +61,8 @@ export default {
|
|
|
59
61
|
mode: ['click', 'hover'],
|
|
60
62
|
toggle: '- *',
|
|
61
63
|
boundary: false,
|
|
64
|
+
boundaryX: false,
|
|
65
|
+
boundaryY: false,
|
|
62
66
|
target: false,
|
|
63
67
|
targetX: false,
|
|
64
68
|
targetY: false,
|
|
@@ -75,6 +79,13 @@ export default {
|
|
|
75
79
|
},
|
|
76
80
|
|
|
77
81
|
computed: {
|
|
82
|
+
boundary({ boundary, boundaryX, boundaryY }, $el) {
|
|
83
|
+
return [
|
|
84
|
+
query(boundaryX || boundary, $el) || window,
|
|
85
|
+
query(boundaryY || boundary, $el) || window,
|
|
86
|
+
];
|
|
87
|
+
},
|
|
88
|
+
|
|
78
89
|
target({ target, targetX, targetY }, $el) {
|
|
79
90
|
targetX = targetX || target || this.targetEl;
|
|
80
91
|
targetY = targetY || target || this.targetEl;
|
|
@@ -284,7 +295,11 @@ export default {
|
|
|
284
295
|
})(),
|
|
285
296
|
|
|
286
297
|
...(this.autoUpdate
|
|
287
|
-
? [
|
|
298
|
+
? [
|
|
299
|
+
on([document, scrollParents(this.$el)], 'scroll', update, {
|
|
300
|
+
passive: true,
|
|
301
|
+
}),
|
|
302
|
+
]
|
|
288
303
|
: []),
|
|
289
304
|
|
|
290
305
|
...(this.bgScroll
|
|
@@ -408,8 +423,6 @@ export default {
|
|
|
408
423
|
// Ensure none positioned element does not generate scrollbars
|
|
409
424
|
this.$el.hidden = true;
|
|
410
425
|
|
|
411
|
-
const boundary = query(this.boundary, this.$el);
|
|
412
|
-
const boundaryOffset = offset(boundary || window);
|
|
413
426
|
const viewports = this.target.map((target) => offsetViewport(scrollParents(target)[0]));
|
|
414
427
|
const viewportOffset = this.getViewportOffset(this.$el);
|
|
415
428
|
|
|
@@ -422,7 +435,7 @@ export default {
|
|
|
422
435
|
if (this.axis !== axis && includes([axis, true], this.stretch)) {
|
|
423
436
|
css(this.$el, {
|
|
424
437
|
[prop]: Math.min(
|
|
425
|
-
|
|
438
|
+
offset(this.boundary[i])[prop],
|
|
426
439
|
viewports[i][prop] - 2 * viewportOffset
|
|
427
440
|
),
|
|
428
441
|
[`overflow-${axis}`]: 'auto',
|
|
@@ -440,7 +453,7 @@ export default {
|
|
|
440
453
|
|
|
441
454
|
this.$el.hidden = false;
|
|
442
455
|
|
|
443
|
-
this.positionAt(this.$el, this.target, boundary);
|
|
456
|
+
this.positionAt(this.$el, this.target, this.boundary);
|
|
444
457
|
|
|
445
458
|
for (const [i, [axis, prop, start, end]] of dirs) {
|
|
446
459
|
if (this.axis === axis && includes([axis, true], this.stretch)) {
|
|
@@ -453,17 +466,17 @@ export default {
|
|
|
453
466
|
(targetOffset[start] > elOffset[start]
|
|
454
467
|
? targetOffset[start] -
|
|
455
468
|
Math.max(
|
|
456
|
-
|
|
469
|
+
offset(this.boundary[i])[start],
|
|
457
470
|
viewports[i][start] + viewportOffset
|
|
458
471
|
)
|
|
459
472
|
: Math.min(
|
|
460
|
-
|
|
473
|
+
offset(this.boundary[i])[end],
|
|
461
474
|
viewports[i][end] - viewportOffset
|
|
462
475
|
) - targetOffset[end]) - positionOffset,
|
|
463
476
|
[`overflow-${axis}`]: 'auto',
|
|
464
477
|
});
|
|
465
478
|
|
|
466
|
-
this.positionAt(this.$el, this.target, boundary);
|
|
479
|
+
this.positionAt(this.$el, this.target, this.boundary);
|
|
467
480
|
}
|
|
468
481
|
}
|
|
469
482
|
},
|
package/src/js/core/navbar.js
CHANGED
|
@@ -32,35 +32,29 @@ export default {
|
|
|
32
32
|
|
|
33
33
|
props: {
|
|
34
34
|
dropdown: String,
|
|
35
|
-
mode: 'list',
|
|
36
35
|
align: String,
|
|
37
|
-
offset: Number,
|
|
38
|
-
boundary: Boolean,
|
|
39
|
-
target: Boolean,
|
|
40
|
-
targetX: Boolean,
|
|
41
|
-
targetY: Boolean,
|
|
42
36
|
clsDrop: String,
|
|
43
|
-
|
|
44
|
-
delayHide: Number,
|
|
37
|
+
boundary: Boolean,
|
|
45
38
|
dropbar: Boolean,
|
|
46
39
|
dropbarAnchor: Boolean,
|
|
47
40
|
duration: Number,
|
|
41
|
+
mode: Boolean,
|
|
42
|
+
offset: Boolean,
|
|
43
|
+
stretch: Boolean,
|
|
44
|
+
delayShow: Boolean,
|
|
45
|
+
delayHide: Boolean,
|
|
46
|
+
target: Boolean,
|
|
47
|
+
targetX: Boolean,
|
|
48
|
+
targetY: Boolean,
|
|
49
|
+
animation: Boolean,
|
|
50
|
+
animateOut: Boolean,
|
|
48
51
|
},
|
|
49
52
|
|
|
50
53
|
data: {
|
|
51
54
|
dropdown: '.uk-navbar-nav > li > a, .uk-navbar-item, .uk-navbar-toggle',
|
|
52
55
|
align: isRtl ? 'right' : 'left',
|
|
53
56
|
clsDrop: 'uk-navbar-dropdown',
|
|
54
|
-
mode: undefined,
|
|
55
|
-
offset: undefined,
|
|
56
|
-
delayShow: undefined,
|
|
57
|
-
delayHide: undefined,
|
|
58
|
-
flip: false,
|
|
59
|
-
shift: true,
|
|
60
57
|
boundary: true,
|
|
61
|
-
target: false,
|
|
62
|
-
targetX: false,
|
|
63
|
-
targetY: false,
|
|
64
58
|
dropbar: false,
|
|
65
59
|
dropbarAnchor: false,
|
|
66
60
|
duration: 200,
|
|
@@ -68,18 +62,10 @@ export default {
|
|
|
68
62
|
},
|
|
69
63
|
|
|
70
64
|
computed: {
|
|
71
|
-
boundary({ boundary }, $el) {
|
|
72
|
-
return boundary === true ? $el : boundary;
|
|
73
|
-
},
|
|
74
|
-
|
|
75
65
|
dropbarAnchor({ dropbarAnchor }, $el) {
|
|
76
66
|
return query(dropbarAnchor, $el) || $el;
|
|
77
67
|
},
|
|
78
68
|
|
|
79
|
-
pos({ align }) {
|
|
80
|
-
return `bottom-${align}`;
|
|
81
|
-
},
|
|
82
|
-
|
|
83
69
|
dropbar: {
|
|
84
70
|
get({ dropbar }) {
|
|
85
71
|
if (!dropbar) {
|
|
@@ -127,8 +113,10 @@ export default {
|
|
|
127
113
|
dropdowns.filter((el) => !this.getDropdown(el)),
|
|
128
114
|
{
|
|
129
115
|
...this.$props,
|
|
130
|
-
|
|
131
|
-
|
|
116
|
+
flip: false,
|
|
117
|
+
shift: true,
|
|
118
|
+
pos: `bottom-${this.align}`,
|
|
119
|
+
boundary: this.boundary === true ? this.$el : this.boundary,
|
|
132
120
|
}
|
|
133
121
|
);
|
|
134
122
|
},
|
|
@@ -375,7 +363,7 @@ export default {
|
|
|
375
363
|
return;
|
|
376
364
|
}
|
|
377
365
|
|
|
378
|
-
this._observer
|
|
366
|
+
this._observer?.disconnect();
|
|
379
367
|
|
|
380
368
|
const active = this.getActive();
|
|
381
369
|
|
package/src/js/core/scroll.js
CHANGED
package/src/js/core/video.js
CHANGED
|
@@ -2,6 +2,7 @@ import {
|
|
|
2
2
|
css,
|
|
3
3
|
hasAttr,
|
|
4
4
|
isInView,
|
|
5
|
+
isTag,
|
|
5
6
|
isVideo,
|
|
6
7
|
isVisible,
|
|
7
8
|
mute,
|
|
@@ -30,6 +31,10 @@ export default {
|
|
|
30
31
|
this.$el.preload = 'none';
|
|
31
32
|
}
|
|
32
33
|
|
|
34
|
+
if (isTag(this.$el, 'iframe') && !hasAttr(this.$el, 'allow')) {
|
|
35
|
+
this.$el.allow = 'autoplay';
|
|
36
|
+
}
|
|
37
|
+
|
|
33
38
|
if (this.automute) {
|
|
34
39
|
mute(this.$el);
|
|
35
40
|
}
|
package/src/js/util/position.js
CHANGED
|
@@ -141,7 +141,10 @@ function getViewport(element, viewportOffset, boundary, i) {
|
|
|
141
141
|
}
|
|
142
142
|
|
|
143
143
|
if (boundary) {
|
|
144
|
-
viewport = getIntersectionArea(
|
|
144
|
+
viewport = getIntersectionArea(
|
|
145
|
+
viewport,
|
|
146
|
+
offset(isArray(boundary) ? boundary[i] : boundary)
|
|
147
|
+
);
|
|
145
148
|
}
|
|
146
149
|
|
|
147
150
|
return viewport;
|
package/tests/drop.html
CHANGED
|
@@ -118,8 +118,15 @@
|
|
|
118
118
|
|
|
119
119
|
<div class="uk-margin uk-form-stacked">
|
|
120
120
|
<div class="uk-inline">
|
|
121
|
-
<label class="uk-form-label" for="js-boundary-switcher">Boundary</label>
|
|
122
|
-
<select id="js-boundary-switcher" class="uk-select uk-form-width-small">
|
|
121
|
+
<label class="uk-form-label" for="js-boundary-x-switcher">Boundary X</label>
|
|
122
|
+
<select id="js-boundary-x-switcher" class="uk-select uk-form-width-small">
|
|
123
|
+
<option value="false">Viewport</option>
|
|
124
|
+
<option value="!.test-boundary">Box</option>
|
|
125
|
+
</select>
|
|
126
|
+
</div>
|
|
127
|
+
<div class="uk-inline">
|
|
128
|
+
<label class="uk-form-label" for="js-boundary-y-switcher">Boundary Y</label>
|
|
129
|
+
<select id="js-boundary-y-switcher" class="uk-select uk-form-width-small">
|
|
123
130
|
<option value="false">Viewport</option>
|
|
124
131
|
<option value="!.test-boundary">Box</option>
|
|
125
132
|
</select>
|
|
@@ -156,6 +163,20 @@
|
|
|
156
163
|
<option value="y">Y</option>
|
|
157
164
|
</select>
|
|
158
165
|
</div>
|
|
166
|
+
<div class="uk-inline">
|
|
167
|
+
<label class="uk-form-label" for="js-flip-switcher">Flip</label>
|
|
168
|
+
<select id="js-flip-switcher" class="uk-select uk-form-width-xsmall">
|
|
169
|
+
<option value="false">False</option>
|
|
170
|
+
<option value="true" selected>True</option>
|
|
171
|
+
</select>
|
|
172
|
+
</div>
|
|
173
|
+
<div class="uk-inline">
|
|
174
|
+
<label class="uk-form-label" for="js-shift-switcher">Shift</label>
|
|
175
|
+
<select id="js-shift-switcher" class="uk-select uk-form-width-xsmall">
|
|
176
|
+
<option value="false">False</option>
|
|
177
|
+
<option value="true" selected>True</option>
|
|
178
|
+
</select>
|
|
179
|
+
</div>
|
|
159
180
|
<div class="uk-inline">
|
|
160
181
|
<label class="uk-form-label" for="js-animation-switcher">Animation</label>
|
|
161
182
|
<select id="js-animation-switcher" class="uk-select uk-form-width-small">
|
|
@@ -634,6 +655,18 @@
|
|
|
634
655
|
<td>false</td>
|
|
635
656
|
<td>The area the drop can't exceed causing it to flip and shift. By default, the nearest scrolling ancestor.</td>
|
|
636
657
|
</tr>
|
|
658
|
+
<tr>
|
|
659
|
+
<td><code>boundary-x</code></td>
|
|
660
|
+
<td>Boolean, CSS selector</td>
|
|
661
|
+
<td>false</td>
|
|
662
|
+
<td>The area on the x-axis the drop can't exceed causing it to flip and shift.</td>
|
|
663
|
+
</tr>
|
|
664
|
+
<tr>
|
|
665
|
+
<td><code>boundary-y</code></td>
|
|
666
|
+
<td>Boolean, CSS selector</td>
|
|
667
|
+
<td>false</td>
|
|
668
|
+
<td>The area on the y-axis the drop can't exceed causing it to flip and shift.</td>
|
|
669
|
+
</tr>
|
|
637
670
|
<tr>
|
|
638
671
|
<td><code>target</code></td>
|
|
639
672
|
<td>Boolean, CSS selector</td>
|
|
@@ -732,7 +765,7 @@
|
|
|
732
765
|
}
|
|
733
766
|
});
|
|
734
767
|
|
|
735
|
-
for (const option of ['boundary', 'target-x', 'target-y', 'inset', 'stretch', 'animation', 'animate-out', 'duration']) {
|
|
768
|
+
for (const option of ['boundary-x', 'boundary-y', 'target-x', 'target-y', 'inset', 'stretch', 'flip', 'shift', 'animation', 'animate-out', 'duration']) {
|
|
736
769
|
on(`#js-${option}-switcher`, 'change', (e) =>
|
|
737
770
|
attr($$('.js-options'), option, e.target.value)
|
|
738
771
|
);
|
package/tests/navbar.html
CHANGED
|
@@ -3108,77 +3108,95 @@
|
|
|
3108
3108
|
<td>left</td>
|
|
3109
3109
|
<td>Drop alignment.</td>
|
|
3110
3110
|
</tr>
|
|
3111
|
+
<tr>
|
|
3112
|
+
<td><code>boundary</code></td>
|
|
3113
|
+
<td>Boolean, CSS selector</td>
|
|
3114
|
+
<td>true</td>
|
|
3115
|
+
<td>Referenced element to keep Drop's visibility. By default, it's the navbar component's element.</td>
|
|
3116
|
+
</tr>
|
|
3117
|
+
<tr>
|
|
3118
|
+
<td><code>dropbar</code></td>
|
|
3119
|
+
<td>Boolean | CSS selector</td>
|
|
3120
|
+
<td>false</td>
|
|
3121
|
+
<td>The dropbar selector. If true the dropbar will be inserted automatically.</td>
|
|
3122
|
+
</tr>
|
|
3123
|
+
<tr>
|
|
3124
|
+
<td><code>dropbar-anchor</code></td>
|
|
3125
|
+
<td>Boolean | CSS selector</td>
|
|
3126
|
+
<td>false</td>
|
|
3127
|
+
<td>The dropbar anchor selector. If set, dropbar will be inserted after the anchor element.</td>
|
|
3128
|
+
</tr>
|
|
3129
|
+
<tr>
|
|
3130
|
+
<td><code>duration</code></td>
|
|
3131
|
+
<td>Number</td>
|
|
3132
|
+
<td>200</td>
|
|
3133
|
+
<td>The dropbar transition duration.</td>
|
|
3134
|
+
</tr>
|
|
3135
|
+
<tr>
|
|
3136
|
+
<td><code>container</code></td>
|
|
3137
|
+
<td>Boolean</td>
|
|
3138
|
+
<td>false</td>
|
|
3139
|
+
<td>Define a target container via a selector to specify where the drops should be appended in the DOM.</td>
|
|
3140
|
+
</tr>
|
|
3141
|
+
<tr>
|
|
3142
|
+
<td><code>stretch</code></td>
|
|
3143
|
+
<td>false|true|'x'|'y'</td>
|
|
3144
|
+
<td>true</td>
|
|
3145
|
+
<td>Stretch drop on both (true) or given axis.</td>
|
|
3146
|
+
</tr>
|
|
3111
3147
|
<tr>
|
|
3112
3148
|
<td><code>mode</code></td>
|
|
3113
3149
|
<td>hover | click</td>
|
|
3114
3150
|
<td>click,hover</td>
|
|
3115
|
-
<td>Comma-separated list of
|
|
3151
|
+
<td>Comma-separated list of drop trigger behavior modes.</td>
|
|
3116
3152
|
</tr>
|
|
3117
3153
|
<tr>
|
|
3118
3154
|
<td><code>delay-show</code></td>
|
|
3119
3155
|
<td>Number</td>
|
|
3120
3156
|
<td>0</td>
|
|
3121
|
-
<td>Delay time in hover mode before a
|
|
3157
|
+
<td>Delay time in hover mode before a drop is shown in ms.</td>
|
|
3122
3158
|
</tr>
|
|
3123
3159
|
<tr>
|
|
3124
3160
|
<td><code>delay-hide</code></td>
|
|
3125
3161
|
<td>Number</td>
|
|
3126
3162
|
<td>800</td>
|
|
3127
|
-
<td>Delay time in hover mode before a
|
|
3128
|
-
</tr>
|
|
3129
|
-
<tr>
|
|
3130
|
-
<td><code>boundary</code></td>
|
|
3131
|
-
<td>Boolean, CSS selector</td>
|
|
3132
|
-
<td>true</td>
|
|
3133
|
-
<td>Referenced element to keep Drop's visibility. By default, it's the navbar component's element.</td>
|
|
3163
|
+
<td>Delay time in hover mode before a drop is hidden in ms.</td>
|
|
3134
3164
|
</tr>
|
|
3135
3165
|
<tr>
|
|
3136
3166
|
<td><code>target</code></td>
|
|
3137
3167
|
<td>Boolean, CSS selector</td>
|
|
3138
3168
|
<td>false</td>
|
|
3139
|
-
<td>The element the
|
|
3169
|
+
<td>The element the drop is positioned to (`true` for window).</td>
|
|
3140
3170
|
</tr>
|
|
3141
3171
|
<tr>
|
|
3142
3172
|
<td><code>target-x</code></td>
|
|
3143
3173
|
<td>Boolean, CSS selector</td>
|
|
3144
3174
|
<td>false</td>
|
|
3145
|
-
<td>The element's X axis the
|
|
3175
|
+
<td>The element's X axis the drop is positioned to (`true` for window).</td>
|
|
3146
3176
|
</tr>
|
|
3147
3177
|
<tr>
|
|
3148
3178
|
<td><code>target-y</code></td>
|
|
3149
3179
|
<td>Boolean, CSS selector</td>
|
|
3150
3180
|
<td>false</td>
|
|
3151
|
-
<td>The element's Y axis the drop
|
|
3152
|
-
</tr>
|
|
3153
|
-
<tr>
|
|
3154
|
-
<td><code>cls-drop</code></td>
|
|
3155
|
-
<td>String</td>
|
|
3156
|
-
<td>'uk-navbar-dropdown'</td>
|
|
3157
|
-
<td>The Drop container class.</td>
|
|
3181
|
+
<td>The element's Y axis the drop is positioned to (`true` for window).</td>
|
|
3158
3182
|
</tr>
|
|
3159
3183
|
<tr>
|
|
3160
3184
|
<td><code>offset</code></td>
|
|
3161
3185
|
<td>Number</td>
|
|
3162
3186
|
<td>0</td>
|
|
3163
|
-
<td>The offset
|
|
3187
|
+
<td>The drop offset.</td>
|
|
3164
3188
|
</tr>
|
|
3165
3189
|
<tr>
|
|
3166
|
-
<td><code>
|
|
3167
|
-
<td>
|
|
3168
|
-
<td>
|
|
3169
|
-
<td>
|
|
3170
|
-
</tr>
|
|
3171
|
-
<tr>
|
|
3172
|
-
<td><code>duration</code></td>
|
|
3173
|
-
<td>Number</td>
|
|
3174
|
-
<td>200</td>
|
|
3175
|
-
<td>The dropbar transition duration.</td>
|
|
3190
|
+
<td><code>animation</code></td>
|
|
3191
|
+
<td>String</td>
|
|
3192
|
+
<td>'uk-animation-fade'</td>
|
|
3193
|
+
<td>Space-separated names of animations. Comma-separated for animation out.</td>
|
|
3176
3194
|
</tr>
|
|
3177
3195
|
<tr>
|
|
3178
|
-
<td><code>
|
|
3196
|
+
<td><code>animate-out</code></td>
|
|
3179
3197
|
<td>Boolean</td>
|
|
3180
3198
|
<td>false</td>
|
|
3181
|
-
<td>
|
|
3199
|
+
<td>Use animation when closing the drop.</td>
|
|
3182
3200
|
</tr>
|
|
3183
3201
|
</tbody>
|
|
3184
3202
|
</table>
|