My_Test_Repo/force-app/main/default/lwc/profilePhoto/profilePhoto.html

16 lines
696 B
HTML

<template>
<lightning-card>
<div class="image-container">
<img alt="Person name" class="image" src={imageUrl} title="Person name" />
<div class="overlay-icon">
<lightning-icon icon-name="utility:photo" alternative-text="Description of icon when needed" size="small"></lightning-icon>
<div class="dropdown-content">
<p onclick={showPhoto}>Show Photo</p>
<p onclick={deletePhoto}>Delete Photo</p>
<p onclick={uploadPhoto}>Upload Photo</p>
</div>
</div>
</div>
<!-- Your other code here -->
</lightning-card>
</template>