src/lib/markup-kit/page-layouts/profile/profile.component.ts
A component representing a user profile.
Example of usage:
<mefdev-profile
[name]="'John Doe'"
[img]="'assets/profile.png'"
[shortDescription]="'Lorem ipsum dolor sit amet, consectetur adipiscing elit.'"
[header]="'User Profile'"
[circleImg]="'true'">
<ng-template #first_colum>
<!-- Content for the first column -->
</ng-template>
<ng-template #second_colum>
<!-- Content for the second column -->
</ng-template>
<ng-template #footer>
<!-- Content for the footer -->
</ng-template>
</mefdev-profile>
OnInit
selector | mefdev-profile |
styleUrls | ./profile.component.scss |
templateUrl | ./profile.component.html |
Properties |
Inputs |
Accessors |
constructor()
|
circleImg |
Type : boolean
|
Default value : false
|
A flag indicating whether to display the profile image as a circle. Default "false".
|
header |
Type : string
|
The header title of the profile component.
|
img |
Type : string
|
Default value : ''
|
The URL of the user's profile image.
|
name |
Type : string
|
The name of the user.
|
shortDescription |
Type : string
|
A short description of the user.
|
footer |
Type : TemplateRef<void>
|
Decorators :
@ContentChild('footer')
|
The template reference to the content of the footer.
|
sizeStyle |
getsizeStyle()
|