placeholderFont
|
{
size?: Length,
weight?: number | FontWeight,
family?: string,
style?: FontStyle
}
|
-
|
Placeholder text style.
- size: font size. If the value is of the number type, the unit fp is used.
- weight: font weight. For the number type, the value ranges from 100 to 900, at an interval of 100. The default value is 400. A larger value indicates a larger font weight.
- family: font family. Use commas (,) to separate multiple fonts. The priority of the fonts is the sequence in which they are placed. An example value is Arial, sans-serif.
- style: font style.
|