GithubHelp home page GithubHelp logo

Comments (6)

lukemelia avatar lukemelia commented on June 9, 2024

Yes, it's easy to do today. See the examples in the dummy app to learn how.

from ember-modal-dialog.

oskarrough avatar oskarrough commented on June 9, 2024

Where exactly is it in the dummy app? I couldn't find it. Thank you!

from ember-modal-dialog.

theworkerant avatar theworkerant commented on June 9, 2024

@oskarrough You're right this was hard to find:

<div {{bind-attr class="overlayClassNamesString translucentOverlay:translucent overlay-class"}} {{action 'close'}}></div>

If you want to override this sucker, look here:

And do something similar as suggested in the README for Keyboard Shortcuts

from ember-modal-dialog.

lukemelia avatar lukemelia commented on June 9, 2024

@theworkerant / @oskarrough sorry this was tough to understand. Can one of you submit a PR that would make it easier to grok for a developer new to the project?

from ember-modal-dialog.

pzuraq avatar pzuraq commented on June 9, 2024

@lukemelia I think the issue is that the documentation doesn't clearly specify how the close action is triggered, I made a PR to fix that. If the close action is sent from other places besides clicking the overlay let me know, I can clarify further.

from ember-modal-dialog.

oskarrough avatar oskarrough commented on June 9, 2024

Thank you @pzurag, helped me!

from ember-modal-dialog.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.