Skip to content

Commit 2dc36a1

Browse files
committed
docs(examples): update copy on examples to showcase outside click and show
1 parent 2c78635 commit 2dc36a1

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/src/App.svelte

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
theme: 'tooltip-theme',
7070
show: true
7171
}}>right</b
72-
> when clicked. It will also hide itself once you click outside of the tooltip.
72+
> on load and when clicked. It will also hide itself once you click outside of the tooltip.
7373
</p>
7474

7575
<Prism
@@ -229,11 +229,12 @@
229229
position="right"
230230
action="click"
231231
hideOnClickOutside
232+
show={true}
232233
theme="tooltip-theme"
233234
>
234235
<b>right</b>
235236
</Tooltip>
236-
when clicked. It will also hide itself once you click outside of the tooltip.
237+
on load and when clicked. It will also hide itself once you click outside of the tooltip.
237238
</p>
238239
<Prism
239240
showLineNumbers={true}
@@ -243,6 +244,7 @@
243244
position="right"
244245
action="click"
245246
hideOnClickOutside
247+
show={true}
246248
theme="tooltip-theme">
247249
<b>right</b>
248250
</Tooltip>

0 commit comments

Comments
 (0)