ember-cli-confirm-dialog

This README outlines the details of collaborating on this Ember application.

Usage no npm install needed!

<script type="module">
  import emberCliConfirmDialog from 'https://cdn.skypack.dev/ember-cli-confirm-dialog';
</script>

README

TMS : Confirm Dialog

This README outlines the details of collaborating on this Ember application.

Prerequisites

Installation

  • npm install --save-dev ember-cli-confirm-dialog

Usage

In you template :

{{#if isConfirmVisible}}
  {{confirm-modal isVisible=isConfirmVisible 
    confirmationMsg="Are you sure you want to proceed?" title="Confirmation" 
    confirmType="delete" proceed="proceed"}}
{{/if}}

Toggle the 'isConfirmVisible' property to view the modal.

Add an action "proceed" with a parameter 'type' in your current route.

Further Reading / Useful Links