buli
2023-07-11 80a3f59e2d3df07805bc67e329300b8de90a5b3a
force-app/main/default/lwc/customMydrComp/customMydrComp.js
New file
@@ -0,0 +1,16 @@
import { LightningElement, track, api } from 'lwc';
export default class CustomMydrComp extends LightningElement {
    @api recordId;
    @api isCheckedMyDr;
    connectedCallback() {
        console.log('this.recordId = ' + this.recordId);
        console.log('this.isCheckedMyDr = ' + this.isCheckedMyDr);
    }
    dataChange(event) {
        this.isCheckedMyDr = event.target.checked;
        console.log('this.isCheckedMyDr = ' + this.isCheckedMyDr);
    }
}