Fixed #1217 - Missing documentation for menu separator

pull/1196/head^2
Cagatay Civici 2021-05-12 12:28:45 +03:00
parent 401d9eb59e
commit b7b4b3c533
1 changed files with 18 additions and 0 deletions

View File

@ -164,6 +164,24 @@ const items = [
];
</code></pre>
<h5>Separator</h5>
<p>Separators are special menuitems whose sole purpose is to divide menuitems. A separator is simply configured as below.</p>
<pre v-code.script><code>
const items = [
{
label: 'Item 1'
},
{
separator: true
},
{
label: 'Item 2'
}
];
</code></pre>
</div>
</div>
</template>