packages/components/eui-banner/eui-banner-title.component.ts
Content projection component for displaying the title within eui-banner. Provides consistent typography and styling for banner title text. Must be used as a child of eui-banner component. Accepts text or inline elements through content projection.
Example :<eui-banner imageUrl="image.jpg">
<eui-banner-title>Welcome to Our Platform</eui-banner-title>
<eui-banner-description>Start your journey today</eui-banner-description>
</eui-banner>| changeDetection | ChangeDetectionStrategy.OnPush |
| selector | eui-banner-title |
| template | |
| styleUrl | ./eui-banner-title.scss |
Properties |
HostBindings |
| class |
Type : string
|
Default value : 'eui-banner-title'
|
|
Binds the class to the component. |
| string |
Type : string
|
Default value : 'eui-banner-title'
|
Decorators :
@HostBinding('class')
|
|
Binds the class to the component. |