Friday, October 2, 2020

How to write IF ELSE condition under LWC .html file:

Below is the block of code to use If/Else condition under LWC UI (.html file). Condition variable you can defined under .js file.

<!-- If Condition-->
    <template if:true={your_Variable_defined_in_JS}>
        <!-- Put your UI logic here. -->
    </template>
    <!-- Else Condition-->
    <template if:false={your_Variable_defined_in_JS}>
        <!-- Put your UI logic here. -->
    </template>


Data Cloud Part 2: Setup Your Data Cloud Org

 Before jump to other topic, let's quickly jump to do some practical - create & setup your Data Cloud Org. How??? 1. Open this link:...