-
Notifications
You must be signed in to change notification settings - Fork 0
TruncateTagHelper
StrutTower edited this page Nov 11, 2022
·
2 revisions
Simple tag helper that will truncate a string if it's longer than the supplies number of characters and add an ellipse.
<truncate string="teststring" characters="5"></truncate>
Name | Required | Data Type | Description |
---|---|---|---|
string | Required | String | The string to display and truncate if necessary |
characters | Required | Int | The maximum number of character to display |