mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
14 lines
432 B
Vue
14 lines
432 B
Vue
<template>
|
|
<div style="max-width: 150px">
|
|
<el-ellipsis tooltip>
|
|
The -webkit-line-clamp CSS property allows limiting of the contents of a
|
|
block to the specified number of lines.
|
|
</el-ellipsis>
|
|
<br />
|
|
<el-ellipsis :line-clamp="3" tooltip>
|
|
The -webkit-line-clamp CSS property allows limiting of the contents of a
|
|
block to the specified number of lines.
|
|
</el-ellipsis>
|
|
</div>
|
|
</template>
|