Truncate API

e-truncate API Reference

Properties

Name Description Type Required Default value
content The string to be truncated string false ""
maxLength The maximum length of the truncated string (excluding the `…` character) number false Infinity
end The length of the trailing part number false 0