dotdotdot-js icon indicating copy to clipboard operation
dotdotdot-js copied to clipboard

Enhancement request v4.1.0 - ellipsis setting as a HTML string

Open randomnuggets opened this issue 4 years ago • 0 comments

In v4.1.0 the 'ellipsis' option is a plain text string, inserted in the DOM as a text node.

As a feature request / suggestion, could this option be enhanced to be treated as a HTML string?

For example, the ellipsis could be made clickable by inserting an anchor tag thus: ellipsis: ' <a class="ellipsis" href="whatever">...</a>',

The possibilities go well beyond this example.

Thanks!

randomnuggets avatar Oct 02 '21 03:10 randomnuggets