|
@@ -12,6 +12,7 @@
|
|
export let touch = true;
|
|
export let touch = true;
|
|
export let className = 'flex';
|
|
export let className = 'flex';
|
|
export let theme = '';
|
|
export let theme = '';
|
|
|
|
+ export let offset = [0, 4];
|
|
export let allowHTML = true;
|
|
export let allowHTML = true;
|
|
export let tippyOptions = {};
|
|
export let tippyOptions = {};
|
|
|
|
|
|
@@ -29,7 +30,7 @@
|
|
touch: touch,
|
|
touch: touch,
|
|
...(theme !== '' ? { theme } : { theme: 'dark' }),
|
|
...(theme !== '' ? { theme } : { theme: 'dark' }),
|
|
arrow: false,
|
|
arrow: false,
|
|
- offset: [0, 4],
|
|
|
|
|
|
+ offset: offset,
|
|
...tippyOptions
|
|
...tippyOptions
|
|
});
|
|
});
|
|
}
|
|
}
|