Salesforce LWC: Contact Card with Flip Functionality
In this post we will learn how to use create contact cards with 180 degree flip functionality. Let us see the demo first to understand the scenario better: User Scenario: We need an input lookup field where user can select any Account and once user select any account. It display all related Contact in Contact card format with Flip Functionality. Implementation: To implement this first we need lookup field where user can select any account. So for that we can use Lightning Data Service. By using lightning-edit-form we can show Account lookup. Once user will select Account, then using wire service we can get all related Contacts. Below is the HTML code which we need: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 <template> <div style= "background-color: white;" class= "slds-p-around_medium" > <lightning -tile label= "Contact Directory" type= "...