mirror of
https://github.com/element-plus/element-plus.git
synced 2024-12-21 02:50:11 +08:00
improvement(components) [divider] add separator role (#7678)
This commit is contained in:
parent
4204137396
commit
6307bdd049
@ -1,5 +1,9 @@
|
|||||||
<template>
|
<template>
|
||||||
<div :class="[ns.b(), ns.m(direction)]" :style="dividerStyle">
|
<div
|
||||||
|
:class="[ns.b(), ns.m(direction)]"
|
||||||
|
:style="dividerStyle"
|
||||||
|
role="separator"
|
||||||
|
>
|
||||||
<div
|
<div
|
||||||
v-if="$slots.default && direction !== 'vertical'"
|
v-if="$slots.default && direction !== 'vertical'"
|
||||||
:class="[ns.e('text'), ns.is(contentPosition)]"
|
:class="[ns.e('text'), ns.is(contentPosition)]"
|
||||||
|
Loading…
Reference in New Issue
Block a user