Skip to content

Commit a5f5e19

Browse files
committed
IMP: the demo content
1 parent 65a7406 commit a5f5e19

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

index.html

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -191,23 +191,23 @@
191191
</dialog>
192192
</div>
193193

194-
<blockquote>
194+
<blockquote
195+
class="container"
196+
style="--container-size: 68ch; --container-gap: 0px"
197+
>
195198
<p>
196-
When adding the <code>x-htmldialog</code> to an
197-
<code>x-show</code> element, it will not toggle the display,
198-
but instead use the native
199-
<code>el.showModal()</code> function.
200-
<br />
201-
The value inside the <code>x-htmldialog</code> is not
202-
required, but is recommended to close the dialog using the
203-
escape key or clicking the backdrop.
199+
Meet <code>x-htmldialog</code>, an Alpine.js plugin that
200+
makes working with native HTML
201+
<code>&lt;dialog&gt;</code> elements a breeze. Attach the
202+
<code>x-htmldialog</code> directive to your x-show elements
203+
to unlock native modal functionality, with default support
204+
for escape key and backdrop closing.
204205
</p>
205206
<p>
206207
<a
207208
href="https://fylgja.dev/library/extensions/alpinejs-dailog/"
208209
>
209-
For more information see the full documentation on
210-
fylgja.dev
210+
See the full details on fylgja.dev.
211211
</a>
212212
</p>
213213
</blockquote>

0 commit comments

Comments
 (0)