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

15 lines
426 B
HTML

<template>
<lightning-card title="parent to child " >
<lightning-input class="slds-p-horizontal_small"
label="Set counter"
type="text"
value={startcounter}
onchange={handleStartCounter}>
</lightning-input>
<!-- child compo called -->
<c-child-example counter={startcounter}></c-child-example>
</lightning-card>
</template>