SHARE
TWEET

Untitled

a guest Mar 20th, 2019 74 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <template>
  2.     <lightning-card title="HelloWorld" icon-name="custom:custom14">
  3.         <div class="slds-m-around_medium">
  4.             <p>Hello, {upperCaseName}!</p>
  5.             <lightning-input name="last_name" label="Last Name" onchange={changeHandler}></lightning-input>
  6.             <template if:false={showLastNameOnly}>
  7.                 <div>
  8.                         <lightning-input name="first_name" label="First Name" onchange={changeHandler}></lightning-input>
  9.                 </div>
  10.             </template>
  11.             <lightning-input type="checkbox" label="Show Last Name only" onchange={handleCheckBox}></lightning-input>
  12.         </div>
  13.     </lightning-card>
  14. </template>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top