We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f46ce31 commit 2897478Copy full SHA for 2897478
src/index.svelte
@@ -25,7 +25,7 @@
25
/**
26
* @typedef {Object} Props
27
* @property {boolean} [keep]
28
- * @property {number} [height]
+ * @property {number|string} [height]
29
* @property {number} [offset]
30
* @property {any} [fadeOption]
31
* @property {number} [resetHeightDelay]
@@ -42,9 +42,9 @@
42
height = 0,
43
offset = 150,
44
fadeOption = {
45
- delay: 0,
46
- duration: 400,
47
- },
+ delay: 0,
+ duration: 400,
+ },
48
resetHeightDelay = 0,
49
onload = null,
50
placeholder = null,
0 commit comments