Created
May 8, 2022 04:16
-
-
Save JitendraZaa/9b7f8dd16e78fa348a0c2a86ba01f819 to your computer and use it in GitHub Desktop.
Source to access LWC context in adaptive card
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Object.defineProperty(CardElement.prototype, "lwcRef", { | |
get: function () { | |
if (this._lwcRef) { | |
return this._lwcRef; | |
} | |
}, | |
set: function (value) { | |
this._lwcRef = value; | |
}, | |
enumerable: false, | |
configurable: true | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment