Skip to content

Commit

Permalink
chore: add short descriptions of how to get
Browse files Browse the repository at this point in the history
  • Loading branch information
vladdeSV committed Jul 4, 2024
1 parent 5f15335 commit 028ed8f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions website/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@ <h2>Try it</h2>
</form>

<h2>Get it</h2>
<p>Import the library with these two lines:</p>
<pre><code>&lt;<span class=kw>script</span> <span class=attr>defer</span> <span class=attr>src</span>=<span class=v>/js/checkswipe.js</span> <span class=attr>onload</span>=<span class=fn>checkswipe</span>()&gt;&lt;/<span class=kw>script</span>&gt;<br>&lt;<span class=kw>link</span> <span class=attr>rel</span>=<span class=v>stylesheet</span> <span class=attr>href</span>=<span class=v>/css/checkswipe.css</span>&gt;</code></pre>
<p>Add the attribute <code><span class=attr>data-checkswipe</span></code> to any group.</p>
<pre><code>&lt;<span class=kw>fieldset</span> <mark><span class=attr>data-checkswipe</span></mark>&gt;<br> &lt;<span class=kw>input</span> <span class=attr>type</span>=<span class=v>checkbox</span>&gt;<br> &lt;<span class=kw>input</span> <span class=attr>type</span>=<span class=v>checkbox</span>&gt;<br>&lt;/<span class=kw>fieldset</span>&gt;</code></pre>
<p>See the <a href=https://github.com/vladdeSV/checkswipe/releases/latest>latest release</a> and the <a href=https://github.com/vladdeSV/checkswipe>source code</a> on GitHub.</p>

Expand Down

0 comments on commit 028ed8f

Please sign in to comment.