refactor: update examples
This commit is contained in:
@@ -14,10 +14,10 @@
|
||||
<code><input type="range"></code> controls with
|
||||
<code><CFormRange></code>.
|
||||
</p>
|
||||
<Example href="forms/range">
|
||||
<DocsExample href="forms/range">
|
||||
<CFormLabel for="customRange1">Example range</CFormLabel>
|
||||
<CFormRange id="customRange1" />
|
||||
</Example>
|
||||
</DocsExample>
|
||||
</CCardBody>
|
||||
</CCard>
|
||||
</CCol>
|
||||
@@ -31,10 +31,10 @@
|
||||
Add the <code>disabled</code> boolean attribute on an input to give
|
||||
it a grayed out appearance and remove pointer events.
|
||||
</p>
|
||||
<Example href="forms/range#disabled">
|
||||
<DocsExample href="forms/range#disabled">
|
||||
<CFormLabel for="disabledRange">Disabled range</CFormLabel>
|
||||
<CFormRange id="disabledRange" disabled />
|
||||
</Example>
|
||||
</DocsExample>
|
||||
</CCardBody>
|
||||
</CCard>
|
||||
</CCol>
|
||||
@@ -50,10 +50,10 @@
|
||||
You may specify new values for those using the <code>min</code> and
|
||||
<code>max</code> attributes.
|
||||
</p>
|
||||
<Example href="forms/range#min-and-max">
|
||||
<DocsExample href="forms/range#min-and-max">
|
||||
<CFormLabel for="customRange2">Example range</CFormLabel>
|
||||
<CFormRange :min="0" :max="5" defaultValue="3" id="customRange2" />
|
||||
</Example>
|
||||
</DocsExample>
|
||||
</CCardBody>
|
||||
</CCard>
|
||||
</CCol>
|
||||
@@ -69,7 +69,7 @@
|
||||
below, we double the number of steps by using
|
||||
<code>step="0.5"</code>.
|
||||
</p>
|
||||
<Example href="forms/range#steps">
|
||||
<DocsExample href="forms/range#steps">
|
||||
<CFormLabel for="customRange3">Example range</CFormLabel>
|
||||
<CFormRange
|
||||
:min="0"
|
||||
@@ -78,7 +78,7 @@
|
||||
defaultValue="3"
|
||||
id="customRange3"
|
||||
/>
|
||||
</Example>
|
||||
</DocsExample>
|
||||
</CCardBody>
|
||||
</CCard>
|
||||
</CCol>
|
||||
|
||||
Reference in New Issue
Block a user