text-open

long text,一个可以在过长文本后面显示...展开的组件

Usage no npm install needed!

<script type="module">
  import textOpen from 'https://cdn.skypack.dev/text-open';
</script>

README

This is a component that can show long text, and show 'open' or 'close' text. But I recommend you can get the source, rather than npm install it.

This results

一个用来显示长文本的组件,如果有需要可以折叠文本显示n行,并在结尾显示“展开”、“收起”。但是我推荐你直接获取源码,而不是npm install。如果你喜欢可以star

结果展示