Posts

Showing posts with the label Attributes

Attributes

Label Hidden Used to hide the label                    <lightning:input type="number" label="number" variant = "label-hidden" name="aNumberInputField"/> <aura:component >     <lightning:recordEditForm objectApiName="Account">         <lightning:messages />             <div class="slds-grid">                <div>                 <div class="slds-col slds-size_1-of-3">                    <lightning:input type="number" label="number" variant = "label-hidden" name="aNumberInputField"/>                 </div>                <div class="slds-col slds-size_1-of-3">           ...

Getting Value from UI

Image
Template Scenario 1: <template>      Hello, {greeting}! </template> JS import { LightningElement } from 'lwc';   export default class Hello extends LightningElement {     greeting = 'World'; } O/p Scenario: 2 Hello world with Input Box  <template>      <lightning-card   title = "HelloBinding"   icon-name = "custom:custom14" >          <div   class = "slds-m-around_medium" >              <p> Hello, {greeting}! </p>              <lightning-input                  label = "Name"              ...