15 lines
426 B
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> |