您的文档中的toggles.demo.html需要一节显示受支持的右标签类的用法。一般来说,.toggle-switch.right-label类在任何地方都没有记录。我们通过深入研究代码来发现它。
<section class="form-block">
<div class="form-group">
<label for="formGroupExampleInput">Right Label Toggles</label>
<div class="toggle-switch right-label">
<input type="checkbox" id="toggle_4">
<label for="toggle_4">Toggles turn on and off</label>
</div>
<div class="toggle-switch right-label">
<input type="checkbox" id="toggle_5" disabled>
<label for="toggle_5">Toggle off and disabled</label>
</div>
<div class="toggle-switch right-label">
<input type="checkbox" id="toggle_6" checked disabled>
<label for="toggle_6">Toggle on and disabled</label>
</div>
</div>
</section>