import { LightningElement, api } from 'lwc';
export default class MobileLauncherParent extends LightningElement {
@api dynamicTags = 'before'
@api recordId
@api roll = false
@api showOverlay = false
@api checklist = 'Tag1|Tag2|Tag3'
@api customParameters
reloadMobileLauncher() {
this.dynamicTags = 'After'
this.roll = true
this.showOverlay = true
this.checklist = 'Test1|Test2'
const childComponent = this.refs.mobileLauncher;
if (childComponent) {
// this timeout is important for the change to be applied in the LWC lifecyle.
setTimeout(() => {
childComponent.reload();
}, 0)
}
}
}