src/lib/markup-kit/card/card-long/card-long.component.ts
Component for displaying a long card with a title, parameters, and description.
Example of usage:
OnInit
selector | mefdev-card-long |
styleUrls | ./card-long.component.scss |
templateUrl | ./card-long.component.html |
Properties |
Methods |
|
Inputs |
constructor(router: Router)
|
||||||
Parameters :
|
description |
Type : string
|
The description of the card. |
img |
Type : string
|
The path to the image. |
imgUrl |
Type : string
|
The path, where user goes after click at the image. |
type_color |
Type : CartTypeColors
|
Default value : CartTypeColors.UNSET
|
The color of the card type. Colors: RED, UNSET, GREEN |
type_text |
Type : string
|
The text for the card type. |
Public imgClick |
imgClick()
|
Event handler for image click. Navigates to the specified URL.
Returns :
void
|
params |
Type : TemplateRef<void>
|
Decorators :
@ContentChild('params')
|
Template for displaying the parameters of the card. |
second_col |
Type : TemplateRef<void>
|
Decorators :
@ContentChild('second_col')
|
Template for displaying the content of the second column. |
third_col |
Type : TemplateRef<void>
|
Decorators :
@ContentChild('third_col')
|
Template for displaying the content of the third column. |
title |
Type : TemplateRef<void>
|
Decorators :
@ContentChild('title')
|
Template for displaying the title of the card. |