Skip to content
This repository has been archived by the owner on Dec 3, 2021. It is now read-only.

add trailing slashed to code examples #90

Open
wants to merge 1 commit into
base: gh-pages
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ <h2>Usage</h2>

<h3><a name="default" class="anchor" href="#default"><span class="octicon octicon-link"></span></a>Default</h3>

<div class="highlight highlight-html"><pre><span class="nt">&lt;toggle-switch</span> <span class="na">ng-model=</span><span class="s">"switchStatus"</span><span class="nt">&gt;&lt;toggle-switch&gt;</span>
<div class="highlight highlight-html"><pre><span class="nt">&lt;toggle-switch</span> <span class="na">ng-model=</span><span class="s">"switchStatus"</span><span class="nt">&gt;&lt;/toggle-switch&gt;</span>
</pre></div>

<toggle-switch ng-model="switchState"></toggle-switch>
Expand All @@ -70,7 +70,7 @@ <h3><a name="text" class="anchor" href="#text"><span class="octicon octicon-link
<span class="na">ng-model=</span><span class="s">"switchStatus"</span>
<span class="na">on-label=</span><span class="s">"sí"</span>
<span class="na">off-label=</span><span class="s">"no"</span><span class="nt">&gt;</span>
<span class="nt">&lt;toggle-switch&gt;</span>
<span class="nt">&lt;/toggle-switch&gt;</span>
</pre></div>

<toggle-switch ng-model="switchState" on-label="sí" off-label="no"></toggle-switch>
Expand All @@ -80,7 +80,7 @@ <h3> <a name="knob-text" class="anchor" href="#knob-text"><span class="octicon o
<div class="highlight highlight-html"><pre><span class="nt">&lt;toggle-switch</span>
<span class="na">ng-model=</span><span class="s">"switchStatus"</span>
<span class="na">knob-label=</span><span class="s">"TV"</span><span class="nt">&gt;</span>
<span class="nt">&lt;toggle-switch&gt;</span>
<span class="nt">&lt;/toggle-switch&gt;</span>
</pre></div>

<toggle-switch ng-model="switchState" knob-label="TV"></toggle-switch>
Expand All @@ -90,7 +90,7 @@ <h3> <a name="disabled" class="anchor" href="#disabled"><span class="octicon oct
<div class="highlight highlight-html"><pre><span class="nt">&lt;toggle-switch</span>
<span class="na">ng-model=</span><span class="s">"switchStatus"</span>
<span class="na">disabled=</span><span class="s">"{{true}}"</span><span class="nt">&gt;</span>
<span class="nt">&lt;toggle-switch&gt;</span>
<span class="nt">&lt;/toggle-switch&gt;</span>
</pre></div>

<toggle-switch ng-model="switchState" ng-disabled="{{true}}"></toggle-switch>
Expand Down