Appearance
anim-format (runtime format) / casedText
Function: casedText()
ts
function casedText<T>(def): T;THE letter-case rule of textTransform (CSS text-transform): the text with its content and runs as drawn. "capitalize" upper-cases the first letter of each word (after the start or white space, across runs) and leaves the rest as typed, like CSS. Same object back when there is nothing to change.
Type Parameters
| Type Parameter |
|---|
T extends Pick<AnimText, "content" | "runs" | "textTransform"> |
Parameters
| Parameter | Type |
|---|---|
def | T |
Returns
T