Contents
How do you comment components?
In the Procedure window:
- Click a component connector (yellow diamond), then drag the arrow pointer to the Other option on the component toolbar. The Text Editor opens.
- Type your comment, beginning with the characters -*.
- Close the Editor and update the procedure when prompted.
How do I comment multiple lines on a VF page?
How to comment multiple lines in QTP?
- Highlight the lines you want to comment.
- Press CTRL + m.
- To uncomment, press CTRL + SHIFT + m.
How do you comment inside JSX?
2) If you want to comment something in JSX you need to use JavaScript comments inside of Curly braces like {/comment here/}. It is a regular /* Block Comments */, but need to be wrapped in curly braces. Ctrl + / on Windows + Linux.
How to use map object in aura Lightning component?
A Map collection allows you have a key/value pair where the key is unique. Declaring such is easy by adding the following But in your controller, if you try to do any Map functions such as keys (), set (key, value), values (), you get an error such as: values is not a function.
Why do we need interfaces in aura components?
When we try to create an Aura Component we will be given the option to include interfaces, by adding interfaces we are trying to make the components accessible at different places in Lightning Experience.
How to add lightning component as a quick action or lightning action?
Steps to Add Lighting component as a Quick Action to an object : Go to Setup >> Objects and Fields >> Object Manager >> Select the Object ( let’s take Contact for this example ) >> Go to Buttons, Links and Actions section >> Click on New Action.
What kind of markup does Lightning component use?
Lightning Component markup is XML, and the generated markup on the client is HTML. The Lightning markup might generate something such as: I do not know where the — trend in style classes comes from, but clearly they weren’t thinking about this clearly! Thanks Skip, now I see the backgrounds.
https://www.youtube.com/watch?v=xMzPhu01ptc&list=PL-JzyFWuCbkKk0c6WqDdFrjev-wD0SndG