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

18 lines
531 B
HTML

<template>
<lightning-card title="Parent To child Communication">
<lightning-input
class="slds-p-horizontal_small"
label="Set value for counter"
type="number"
value={startCounter}
onchange={handleStartChange}
></lightning-input>
<lightning-button
></lightning-button>
<!-- child componant -->
<c-child-exp-1 counter={startCounter}></c-child-exp-1>
</lightning-card>
</template>