File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed
Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change 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 > <dialog></ 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 >
You can’t perform that action at this time.
0 commit comments