• #10567
    Salesforce | Piyush Piyush #488

    How to open popup in Lightning Component?

    Hello, I have a requirement to open a popup on click of button which is defined in the lightning component. Any help will be really appreciable .


    Salesforce | Suyash Suyash #467

    Hi Piyush,

    Go through this link may be this can solve your query:


    Salesforce | Ajay Prakash Ajay Prakash #455

    You can create modal provided by Salesforce

    <div class=”demo-only” style=”height: 640px;”>
    <section role=”dialog” tabindex=”-1″ aria-labelledby=”modal-heading-01″ aria-modal=”true” aria-describedby=”modal-content-id-1″ class=”slds-modal slds-fade-in-open”>
    <div class=”slds-modal__container”>
    <header class=”slds-modal__header”>
    <button class=”slds-button slds-button_icon slds-modal__close slds-button_icon-inverse” title=”Close”>
    <svg class=”slds-button__icon slds-button__icon_large” aria-hidden=”true”>
    <use xmlns:xlink=”http://www.w3.org/1999/xlink” xlink:href=”/assets/icons/utility-sprite/svg/symbols.svg#close” />
    <span class=”slds-assistive-text”>Close</span>
    <h2 id=”modal-heading-01″ class=”slds-text-heading_medium slds-hyphenate”>Modal Header</h2>
    <div class=”slds-modal__content slds-p-around_medium” id=”modal-content-id-1″>
    <footer class=”slds-modal__footer”>
    <button class=”slds-button slds-button_neutral”>Cancel</button>
    <button class=”slds-button slds-button_brand”>Save</button>
    <div class=”slds-backdrop slds-backdrop_open”></div>

    Show and hide this model from button action.


Viewing 3 posts - 1 through 3 (of 3 total)

Please to reply to this topic.


We're not around right now. But you can send us an email and we'll get back to you, asap.


About Us

Forcetalks is a Salesforce collaboration platform for coders & developers, geeks & nerds, consultants & business heads, admins & architects, managers & marketers and of course the business owners. A community where you can learn from, where you can contribute to. For you. For Salesforce. Read More...

Copyright 2019 Forcetalks. All Right Reserved.

Log in with your credentials


Forgot your details?