1

您的文档中的 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>
4

0 回答 0