import { trimText } from '@src/hylo-components/utils/usefull/usefull';
Returns a trimmed text which does not cut words. Adds " ..." to the end if trimmed.
the text to be trimmed
the maximum amount of characters in the trimmed text (including " ...")
the minimum of words which should be returned (optional)
Generated using TypeDoc
import { trimText } from '@src/hylo-components/utils/usefull/usefull';
Returns a trimmed text which does not cut words. Adds " ..." to the end if trimmed.