Skip to content

Clamping callback #12

Open
Open
@oyeanuj

Description

@oyeanuj

Hi @Kikobeats, thanks for putting out this library! I am wondering if it would be possible to accept a callback function that is called if text is being clamped?

My use-case is that I want to show a 'Read More' link incase the text is being clamped, and nothing if all the text is being displayed.

Thoughts?

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