New to Kendo UI for AngularStart a free 30-day trial

TypographyDirective

Represents the Kendo UI Typography directive for Angular. Use this directive to represent element types in a uniform way by relying on the predefined Kendo theme classes.

html
<div kendoTypography variant="k-h1"></div>

Selector

[kendoTypography]

Export Name

Accessible in templates as #kendoTypographyInstance="kendoTypography"

Inputs

NameTypeDefaultDescription

fontSize

TypographyFontSize

Sets the element font-size style.

fontWeight

TypographyFontWeight

Sets the element font-weight style.

textAlign

TypographyTextAlign

Sets the element text-align style.

textTransform

TypographyTextTransform

Sets the element text-transform style.

themeColor

TypographyThemeColor

Applies the theme-color to the element.

variant

TypographyVariant

Specifies the element variant class that will be applied.

In this article
SelectorExport NameInputs
Not finding the help you need?
Contact Support