main
Last change
on this file was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 7 days ago |
F4 Finalna Verzija
|
-
Property mode
set to
100644
|
File size:
1.2 KB
|
Rev | Line | |
---|
[79a0317] | 1 | /**
|
---|
| 2 | * HTML-safe compress white-spaces.
|
---|
| 3 | * @param str - String to compress.
|
---|
| 4 | * @returns String.
|
---|
| 5 | */
|
---|
| 6 | export declare function compressSpaces(str: string): string;
|
---|
| 7 | /**
|
---|
| 8 | * HTML-safe left trim.
|
---|
| 9 | * @param str - String to trim.
|
---|
| 10 | * @returns String.
|
---|
| 11 | */
|
---|
| 12 | export declare function trimLeft(str: string): string;
|
---|
| 13 | /**
|
---|
| 14 | * HTML-safe right trim.
|
---|
| 15 | * @param str - String to trim.
|
---|
| 16 | * @returns String.
|
---|
| 17 | */
|
---|
| 18 | export declare function trimRight(str: string): string;
|
---|
| 19 | /**
|
---|
| 20 | * String to numbers array.
|
---|
| 21 | * @param str - Numbers string.
|
---|
| 22 | * @returns Numbers array.
|
---|
| 23 | */
|
---|
| 24 | export declare function toNumbers(str: string): number[];
|
---|
| 25 | /**
|
---|
| 26 | * Normalize attribute name.
|
---|
| 27 | * @param name - Attribute name.
|
---|
| 28 | * @returns Normalized attribute name.
|
---|
| 29 | */
|
---|
| 30 | export declare function normalizeAttributeName(name: string): string;
|
---|
| 31 | /**
|
---|
| 32 | * Parse external URL.
|
---|
| 33 | * @param url - CSS url string.
|
---|
| 34 | * @returns Parsed URL.
|
---|
| 35 | */
|
---|
| 36 | export declare function parseExternalUrl(url: string): string;
|
---|
| 37 | /**
|
---|
| 38 | * Transform floats to integers in rgb colors.
|
---|
| 39 | * @param color - Color to normalize.
|
---|
| 40 | * @returns Normalized color.
|
---|
| 41 | */
|
---|
| 42 | export declare function normalizeColor(color: string): string;
|
---|
| 43 | //# sourceMappingURL=string.d.ts.map |
---|
Note:
See
TracBrowser
for help on using the repository browser.