vue-snotify icon indicating copy to clipboard operation
vue-snotify copied to clipboard

Rename Snotify's truncate filter

Open albertleao opened this issue 6 years ago • 1 comments

I've ran into 2 projects where they already have a custom truncate feature that is running into issues because Snotify overrides the filter. Wouldn't it be better to have Snotify's truncate be renamed into a namespace of some sort to prevent collisions? Or maybe we can check to see if a truncate method already exists as a filter?

albertleao avatar May 16 '18 21:05 albertleao

I would like to vote for this as well. Another issue with the snotify supplied truncate function is that is does not check for invalid input, say a null value which will yield a runtime error.

arenddeboer avatar Sep 18 '18 19:09 arenddeboer