mirror of
https://github.com/picocss/pico.git
synced 2025-04-22 09:26:14 -04:00
Fix modal example code
This commit is contained in:
parent
e7ecbf44fe
commit
4175f83e19
2 changed files with 7 additions and 7 deletions
|
@ -38,7 +38,7 @@
|
||||||
<i>aria-label</i>=<u>"Close"</u>>
|
<i>aria-label</i>=<u>"Close"</u>>
|
||||||
<i>class</i>=<u>"close"</u>
|
<i>class</i>=<u>"close"</u>
|
||||||
<i>data-target</i>=<u>"modal-example"</u>
|
<i>data-target</i>=<u>"modal-example"</u>
|
||||||
<i>onClick</i>=<u>"toggleModal()"</u>>
|
<i>onClick</i>=<u>"toggleModal(event)"</u>>
|
||||||
</<b>a</b>>
|
</<b>a</b>>
|
||||||
<<b>h3</b>>Confirm your action!</<b>h3</b>>
|
<<b>h3</b>>Confirm your action!</<b>h3</b>>
|
||||||
<<b>p</b>>
|
<<b>p</b>>
|
||||||
|
@ -51,13 +51,13 @@
|
||||||
<i>role</i>=<u>"button"</u>>
|
<i>role</i>=<u>"button"</u>>
|
||||||
<i>class</i>=<u>"secondary"</u>
|
<i>class</i>=<u>"secondary"</u>
|
||||||
<i>data-target</i>=<u>"modal-example"</u>
|
<i>data-target</i>=<u>"modal-example"</u>
|
||||||
<i>onClick</i>=<u>"toggleModal()"</u>>
|
<i>onClick</i>=<u>"toggleModal(event)"</u>>
|
||||||
Cancel
|
Cancel
|
||||||
</<b>a</b>>
|
</<b>a</b>>
|
||||||
<<b>a</b> <i>href</i>=<u>"#confirm"</u>
|
<<b>a</b> <i>href</i>=<u>"#confirm"</u>
|
||||||
<i>role</i>=<u>"button"</u>
|
<i>role</i>=<u>"button"</u>
|
||||||
<i>data-target</i>=<u>"modal-example"</u>
|
<i>data-target</i>=<u>"modal-example"</u>
|
||||||
<i>onClick</i>=<u>"toggleModal()"</u>>
|
<i>onClick</i>=<u>"toggleModal(event)"</u>>
|
||||||
Confirm
|
Confirm
|
||||||
</<b>a</b>>
|
</<b>a</b>>
|
||||||
</<b>footer</b>>
|
</<b>footer</b>>
|
||||||
|
|
|
@ -98,7 +98,7 @@
|
||||||
<pre><code><em><!-- Button to trigger the modal --></em>
|
<pre><code><em><!-- Button to trigger the modal --></em>
|
||||||
<<b>button</b> <i>class</i>=<u>"contrast"</u>
|
<<b>button</b> <i>class</i>=<u>"contrast"</u>
|
||||||
<i>data-target</i>=<u>"modal-example"</u>
|
<i>data-target</i>=<u>"modal-example"</u>
|
||||||
<i>onClick</i>=<u>"toggleModal()"</u>>
|
<i>onClick</i>=<u>"toggleModal(event)"</u>>
|
||||||
Launch demo modal
|
Launch demo modal
|
||||||
</<b>button</b>>
|
</<b>button</b>>
|
||||||
|
|
||||||
|
@ -109,7 +109,7 @@
|
||||||
<i>aria-label</i>=<u>"Close"</u>>
|
<i>aria-label</i>=<u>"Close"</u>>
|
||||||
<i>class</i>=<u>"close"</u>
|
<i>class</i>=<u>"close"</u>
|
||||||
<i>data-target</i>=<u>"modal-example"</u>
|
<i>data-target</i>=<u>"modal-example"</u>
|
||||||
<i>onClick</i>=<u>"toggleModal()"</u>>
|
<i>onClick</i>=<u>"toggleModal(event)"</u>>
|
||||||
</<b>a</b>>
|
</<b>a</b>>
|
||||||
<<b>h3</b>>Confirm your action!</<b>h3</b>>
|
<<b>h3</b>>Confirm your action!</<b>h3</b>>
|
||||||
<<b>p</b>>
|
<<b>p</b>>
|
||||||
|
@ -122,13 +122,13 @@
|
||||||
<i>role</i>=<u>"button"</u>>
|
<i>role</i>=<u>"button"</u>>
|
||||||
<i>class</i>=<u>"secondary"</u>
|
<i>class</i>=<u>"secondary"</u>
|
||||||
<i>data-target</i>=<u>"modal-example"</u>
|
<i>data-target</i>=<u>"modal-example"</u>
|
||||||
<i>onClick</i>=<u>"toggleModal()"</u>>
|
<i>onClick</i>=<u>"toggleModal(event)"</u>>
|
||||||
Cancel
|
Cancel
|
||||||
</<b>a</b>>
|
</<b>a</b>>
|
||||||
<<b>a</b> <i>href</i>=<u>"#confirm"</u>
|
<<b>a</b> <i>href</i>=<u>"#confirm"</u>
|
||||||
<i>role</i>=<u>"button"</u>
|
<i>role</i>=<u>"button"</u>
|
||||||
<i>data-target</i>=<u>"modal-example"</u>
|
<i>data-target</i>=<u>"modal-example"</u>
|
||||||
<i>onClick</i>=<u>"toggleModal()"</u>>
|
<i>onClick</i>=<u>"toggleModal(event)"</u>>
|
||||||
Confirm
|
Confirm
|
||||||
</<b>a</b>>
|
</<b>a</b>>
|
||||||
</<b>footer</b>>
|
</<b>footer</b>>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue