mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
* test(components): [text] el-text unit test * docs(components): [text] el-text website documentation * feat(components): [text] el-text implementation * fix(components): [text] prop 'as' rename 'tag' * docs(components): [text] rename slot default, optimize document * test(components): [text] render text & class change the execution order * fix(components): [text] use template and render function together
9 lines
221 B
Vue
9 lines
221 B
Vue
<template>
|
|
<el-text class="w-100px" truncated>Self element set width 100px</el-text>
|
|
<el-row>
|
|
<el-col :span="4">
|
|
<el-text truncated>Squeezed by parent element</el-text>
|
|
</el-col>
|
|
</el-row>
|
|
</template>
|