0.0.5 • Published 10 years ago

ember-confirm-extension v0.0.5

Weekly downloads
1
License
MIT
Repository
github
Last release
10 years ago

ember-confirm-extension

Demo

Extend any template block by a confirmation "bubble".

Use confirmation mechanisms (buttons/bubbles/dialogs) with caution. The are not always the best choice UX-wise. For more information on that topic see:

Installation

ember install:addon ember-confirm-extension

Usage

{{#confirm-extension questionText='Do you really want to destroy the planet?' confirmText='Yes' declineText='No' confirmAction='destroyEarth'}}
  <button>Destroy Earth</button>
{{/confirm-extension}}

<!-- with optional explanation text -->
{{#confirm-extension questionText='Do you really want to destroy the planet?' explanationText="be careful you might get dirty" confirmText='Yes' declineText='No' confirmAction='destroyEarth'}}
  <button>Destroy Earth</button>
{{/confirm-extension}}

Styling

Take a look at the component's template to see which css classes are used.

Contributions

PRs are always welcome! Make sure that code changes are covered by tests.

License

MIT

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago