Files
element-plus/docs/examples/text/truncated.vue
gimjin 4f78411bb8 feat(components): add el-text component (#11653)
* 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
2023-03-10 15:30:56 +08:00

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>