What is the use of class= slds-truncate in Lightning Web Components?

403    Asked by DavidEdmunds in Salesforce , Asked on Feb 24, 2023

 Long text field with many lines and truncation will look like this. Even though the text might go on for ages and ages.

Answered by Diya tomar
  Regarding class= slds-truncate in Lightning Web Components - 

Long text will be truncated and ended with an ellipsis (...) Provides a cleaner output to the user for fields that are long that don't actually need to be shown on the screen being displayed, like a report. https://www.lightningdesignsystem.com/utilities/truncation/



Your Answer

Interviews

Parent Categories