Created
March 15, 2019 03:03
-
-
Save ketan-benegal/09e3074c9f2e4bc116673f41c1f428ad to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<lightning-card title="HelloWorld" icon-name="custom:custom14"> | |
<div class="slds-m-around_medium"> | |
<p>Hello, {upperCaseName}!</p> | |
<lightning-input name="last_name" label="Last Name" onchange={changeHandler}></lightning-input> | |
<template if:false={showLastNameOnly}> | |
<div> | |
<lightning-input name="first_name" label="First Name" onchange={changeHandler}></lightning-input> | |
</div> | |
</template> | |
<lightning-input type="checkbox" label="Show Last Name only" onchange={handleCheckBox}></lightning-input> | |
</div> | |
</lightning-card> | |
</template> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment