Skip to content

Latest commit

 

History

History
10 lines (7 loc) · 630 Bytes

File metadata and controls

10 lines (7 loc) · 630 Bytes

oneCard

Date: April 27, 2021

This is a Lighting Web Component designed to show a screen capture on a Lighting Page.

Instructions:

  1. Upload your image as a Static Resource in Salesforce.
  2. 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
  3. 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.