Skip to content

希望ellipsis组件更加聪明 #2012

Description

@SmallFox0305

现在的状况:
<VarEllipsis> 内容内容内容内容内容内容内容内容内容内容 </VarEllipsis>
在此时此刻 无论此组件是否省略内容 都可以点击后展开详细内容

但是我希望有一个名为「auto」自动的选项
详细描述:
开启这个选项后可以在省略时才可以点击后展开详细内容
如果文本并没有被省略 就不需要再可以点击后展开详细内容

希望可以实现这个功能 谢谢!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions