Skip to content

Commit 536704e

Browse files
author
Cam DeBuck
committed
added docs/examples for bindable-ui.com
1 parent ebbb079 commit 536704e

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

dev-app/routes/components/tip/properties/index.html

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,24 @@
105105

106106
<c-divider></c-divider>
107107

108+
<div>
109+
<l-stack spacing="var(--s-3)">
110+
<c-h3>disable-trigger</c-h3>
111+
<c-code-sample>
112+
<c-tip disable-trigger.bind="true">
113+
<div slot="trigger">
114+
<c-button>Disable Tip</c-button>
115+
</div>
116+
<div slot="content">
117+
<c-p color="var(--c_white)">Content Here will not show</c-p>
118+
</div>
119+
</c-tip>
120+
</c-code-sample>
121+
</l-stack>
122+
</div>
123+
124+
<c-divider></c-divider>
125+
108126
<div>
109127
<l-stack spacing="var(--s-3)">
110128
<c-h3>force-close</c-h3>

dev-app/routes/components/tip/properties/index.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,12 @@ export class TipProperties {
5353
name: 'centered-content',
5454
value: 'boolean',
5555
},
56-
56+
{
57+
default: 'false',
58+
description: 'disables the tip from showing when clicked or hoover',
59+
name: 'disable-trigger',
60+
value: 'boolean',
61+
},
5762
{
5863
default: 'false',
5964
description: 'Force the tip to close when clicking anywhere after opening it.',

0 commit comments

Comments
 (0)