New to Kendo UI for Angular? Start a free 30-day trial
TypographyDirective
Represents the Kendo UI Typography directive for Angular. Used to represent element types in a uniform way by relying on the predefined Kendo theme classes.
ts
<div kendoTypography variant="k-h1"></div>
Selector
[kendoTypography]
Export Name
Accessible in templates as #kendoTypographyInstance="kendoTypography"
Inputs
Name | Type | Default | Description |
---|---|---|---|
fontSize |
|
Sets the element | |
fontWeight |
|
Sets the element | |
textAlign |
|
Sets the element text-align style. | |
textTransform |
|
Sets the element text-transform style. | |
themeColor |
|
Applies the theme color to the element. | |
variant |
|
Specifies the element variant class that will be applied. |