Date: April 27, 2021
This is a Lighting Web Component designed to show a screen capture on a Lighting Page.
Instructions:
- Upload your image as a Static Resource in Salesforce.
- Modify the oneCard.js-meta.xml to include the targets where the LWC can be used. Valid targets can be found here: https://developer.salesforce.com/docs/component-library/documentation/en/lwc/lwc.reference_configuration_tags
- Modify line 2 of the oneCard.js to include the name of your static resource. Feel free to rename the CARDONE_IMAGE as well. Just be sure and update the variable name in both oneCard.js and oneCard.html.