Optional
Returns the theme of the component. The default theme is comfortable. Available options are comfortable, cosy, compact.
comfortable
cosy
compact
let componentTheme = this.component.displayDensity; Copy
let componentTheme = this.component.displayDensity;
Returns the theme of the component. The default theme is
comfortable
. Available options arecomfortable
,cosy
,compact
.