41 lines
1.1 KiB
HTML
41 lines
1.1 KiB
HTML
<template>
|
|
<lightning-card title="Child Lwc" icon-name="action:upload">
|
|
|
|
<!-- substract button -->
|
|
<lightning-button class="slds-p-horizontal_medium "
|
|
label="Substract"
|
|
icon-name="utility:dash"
|
|
onclick={handleSubstract}>
|
|
</lightning-button>
|
|
|
|
<!-- add button -->
|
|
<lightning-button class="slds-p-horizontal_medium "
|
|
label="Add"
|
|
icon-name="utility:add"
|
|
onclick={handleAdd}>
|
|
</lightning-button>
|
|
|
|
<!-- Do zero button -->
|
|
<lightning-button class="slds-p-horizontal_small "
|
|
label="0"
|
|
value="0"
|
|
onclick={handleMultiply}>
|
|
</lightning-button>
|
|
|
|
<!-- 2x button -->
|
|
<lightning-button class="slds-p-horizontal_small "
|
|
label="2"
|
|
value="2"
|
|
icon-name="utility:close"
|
|
onclick={handleMultiply}>
|
|
</lightning-button>
|
|
|
|
<!-- 3x button -->
|
|
<lightning-button
|
|
label="3"
|
|
value="3"
|
|
icon-name="utility:close"
|
|
onclick={handleMultiply}>
|
|
</lightning-button>
|
|
</lightning-card>
|
|
</template> |