• Vaibhav Bhargava 11
  • NEWBIE
  • 0 Points
  • Member since 2022

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies
import { ShowToastEvent } from 'lightning/platformShowToastEvent';

const evt = new ShowToastEvent({
  title: 'Title',                        message: 'Description should be 20 charter. \n Campaign Name Must  be 10 Character',
  variant: 'error',                      
                               
                            });
                            this.dispatchEvent(evt);
 Here I used \n it is not working.
please help me
Thanks