main
Last change
on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
441 bytes
|
Line | |
---|
1 | /**
|
---|
2 | * A truncation feature where the ellipsis will be placed at the end of the URL.
|
---|
3 | *
|
---|
4 | * @param {String} anchorText
|
---|
5 | * @param {Number} truncateLen The maximum length of the truncated output URL string.
|
---|
6 | * @param {String} ellipsisChars The characters to place within the url, e.g. "..".
|
---|
7 | * @return {String} The truncated URL.
|
---|
8 | */
|
---|
9 | export declare function truncateEnd(anchorText: string, truncateLen: number, ellipsisChars?: string): string;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.