src/lib/markup-kit/card/card/card.component.ts
Component for displaying a card with a title, image, and description.
Example of usage:
<mefdev-card>
<ng-template #card_title>
<!-- Content for the card title -->
</ng-template>
<ng-template #card_footer>
<!-- Content for the card footer -->
</ng-template>
</mefdev-card>
OnInit
selector | mefdev-card |
styleUrls | ./card.component.scss |
templateUrl | ./card.component.html |
Properties |
Methods |
|
Inputs |
constructor(router: Router)
|
||||||
Parameters :
|
card_type |
Type : string
|
The type of the card.
|
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.
|
Public imgClick |
imgClick()
|
Event handler for image click. Navigates to the specified URL.
Returns :
void
|