Menu Close
    Start a Project Request quote Reading list Switch to dark mode
    marketplace-mod

    Change the label of the clicked salesforce lightning button

    Lightning Button

    lightning-button a component represents a button element that executes an action. Use lightning-button where users need to:

    • submit or reset a form
    • begin a new task
    • trigger a new UI element to appear on the page
    • specify a new or next step in a process

    For More info, you can check salesforce official doc here

    Change label of lightning button

    Create a lightning aura component(eq: auraComponent) & write below script in .cmp(eq: auraComponent.cmp) file.

    After adding the above script, create a js controller(auraComponentController.js) file & write the below script.

    Now create a lightning aura(auraComponentPreview) app to preview the functionality & include the above aura component in the lightning aura app(auraComponentPreview.app).

    Now click the “preview” button to check component functionality.

    . . .

    Comments (2)

    Add Your Comment

  • sunny
    thanks for help
  • Zivoke
    Thanks for the guidence.
  • Back to Top
    css.php
    Hire Us!
    Brief us about your requirements and we'll get back to you.
    Woo! Hooy!
    We have just recieved your project brief and our expert will contact you shortly.
    Send Again
    Close