How do you pass custom labels in lightning component?

How do you pass custom labels in lightning component?

Use the following syntax to access custom labels in Aura components.

  1. $A.get(“$Label.c.labelName”) for the default namespace.
  2. $A.get(“$Label.namespace.labelName”) if your org has a namespace, or to access a label in a managed package.

How do you label in lightning component?

To create custom labels, from Setup, enter Custom Labels in the Quick Find box, then select Custom Labels. You can reference custom labels in component markup and in JavaScript code. Here are some examples. Label expressions in markup are supported in .

What should you not use in case of lightning?

Do NOT use your computers, laptops, game systems, washers, dryers, stoves, or anything connected to an electrical outlet. Lightning can travel through electrical systems, radio and television reception systems, and any metal wires or bars in concrete walls or flooring.

What should you not do during a thunderstorm?

Avoid water. Do NOT bathe, shower, wash dishes, or have any other contact with water during a thunderstorm because lightning can travel through a building’s plumbing. Avoid electronic equipment. Do NOT use your computers, laptops, game systems, washers, dryers, stoves, or anything connected to an electrical outlet.

Is it dangerous to work outside during a lightning strike?

Lightning strikes can severely injure or kill workers whose jobs involve working outdoors. Lightning is often overlooked as an occupational hazard, but employers need awareness about lightning hazards to ensure their workers safety.

What should you do if you get hit by lightning?

Lightning is likely to strike the tallest objects in a given area—you should not be the tallest object. Avoid isolated tall trees, hilltops, utility poles, cell phone towers, cranes, large equipment, ladders, scaffolding, or rooftops. Avoid open areas, such as fields. Never lie flat on the ground.