#x8FB9;</p>
<pre><code class="lang-html"><span class="hljs-tag">&lt;<span class="hljs-name">switch</span> <span class="hljs-attr">label</span>=<span class="hljs-string">&quot;switch&quot;</span> <span class="hljs-attr">label-left</span> <span class="hljs-attr">:value</span>=<span class="hljs-string">&quot;value&quot;</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">switch</span>&gt;</span>
</code></pre>
<h2 id="api">API</h2>
<table>
<thead>
<tr>
<th style="text-align:left">&#x53C2;&#x657