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

17 lines
489 B
HTML

<template>
<lightning-card>
<template lwc:if={ready}>
<div id="display">
<div>Name: {name}</div>
<div>Description: {description}</div>
<div>Category: {category}</div>
<div>Material: {material}</div>
<div>Price: {price}</div>
<div><img src={pictureUrl}/></div>
</div>
</template>
<template lwc:else>
<div id="waiting">Loading…Please wait {time} seconds</div>
</template>
</lightning-card>
</template>