Activity Forums Salesforce® Discussions How to show Toast message inside <aura:set attribute="else"> without clicking on a button in Lightning Salesforce?

  • How to show Toast message inside <aura:set attribute="else"> without clicking on a button in Lightning Salesforce?

    Posted by krati on February 4, 2020 at 2:04 pm

    Currently, I am showing my message inside a <div> just in text form. What I would like to do is, show this message in toast.

    <aura:set attribute="else">
         <div Style="text-align : centre">
                There are no related contacts
          </div>
    </aura:set>

    How can I achieve this?

    krati replied 4 years, 9 months ago 1 Member · 0 Replies
  • 0 Replies

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos

Popular Salesforce Infographics