17 lines
489 B
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> |