Tag Archives: Lightning

Salesforce Cookies #12

      No Comments on Salesforce Cookies #12

How to remove the arrows from lightning:input[type=”number”]? I think this is a generic question and Salesforce devs have looked for the ways to get rid of the spin buttons on the input field without changing it to text type for a purely numeric behaviour. You just need a few lines of CSS to solve your problem. We need some CSS which… Read more »

Salesforce Cookies #8

      No Comments on Salesforce Cookies #8

How to use namespace in managed lightning components If you are working on a lightning component and it’s going to be a part of a managed package then you need to take care of namespace in client side JS code if you are accessing any custom field. This can be handled in various ways but I found one very quick… Read more »

Salesforce Cookies #7

      No Comments on Salesforce Cookies #7

Calling a child lightning component method from the parent lightning component When we have multiple nested components then we may run into a scenario in which our parent lightning component is supposed to call a method of its child component. This is a very common use case. simplifies the code needed for a parent component to call a method on… Read more »

Salesforce Cookies #2

      No Comments on Salesforce Cookies #2

Now using Lightning Design System in Lightning Application is easier – No static resource is required to include CSS files. An application automatically gets Lightning Design System styles and design tokens if it extends force:slds. Same behaviour can be accomplished in Visualforce pages with the help of apex:slds component. Include  in a Visualforce page to use Lightning Design System stylesheets in the… Read more »