Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
@api get logs() {
return unwrap(this._logs);
}
log(guid) {
@api get logs() {
return unwrap(this._logs);
}
log(guid) {
unwrapContentWindow() {
const contentWindow = this.template.querySelector('iframe').contentWindow;
try {
unwrap(contentWindow);
} catch (e) {
this.errorMessage = e.message;
}
}
}