IPublisherTextStyleV2
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
export interface IPublisherTextStyleV2 extends IPublisherInheritedTextStyleV2
Extends: IPublisherInheritedTextStyleV2
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
(ALPHA) (Optional) | |||
“normal” | “italic” | (ALPHA) (Optional) | ||
number | (ALPHA) (Optional) 1 to 1000. | ||
number | (ALPHA) (Optional) In em. | ||
number | (ALPHA) (Optional) Multiple of the font size. | ||
“shrink” | “clip” | “ellipsis” | (ALPHA) (Optional) Defaults to | ||
“none” | “uppercase” | “lowercase” | “capitalize” | (ALPHA) (Optional) |
Property details
IPublisherTextStyleV2.fontSizepropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
fontSize?: PublisherPxV2;
IPublisherTextStyleV2.fontStylepropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
fontStyle?: "normal" | "italic";
IPublisherTextStyleV2.fontWeightpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
1 to 1000.
fontWeight?: number;
IPublisherTextStyleV2.letterSpacingpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
In em.
letterSpacing?: number;
IPublisherTextStyleV2.lineHeightpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Multiple of the font size.
lineHeight?: number;
IPublisherTextStyleV2.textOverflowpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Defaults to shrink.
textOverflow?: "shrink" | "clip" | "ellipsis";
IPublisherTextStyleV2.textTransformpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
textTransform?: "none" | "uppercase" | "lowercase" | "capitalize";