BaseModal contains the core functionality of the modal components for Ember FW. It should be used to extend for each of your modals in the following way:

import BaseModal from '@bennerinformatics/ember-fw/components/modals/base';

export default BaseModal.extend({
    //... regular component information goes here
});

For a detailed introduction about modals in general, see our Ember FW Documentation on Modals

Show:

Properties

closeModal

Action

Action to call when closing the modal. This is set by whatever is passed to the FwFullscreenModal attribute close.

confirm

Action

Action that can be called when confirming the modal. This is set to be whatever is passed into the FwFullscreenModal attribute confirm, though often in modals this option is not used.

model

Dynamic

Whatever data is passed into the model attribute on the FwFullscreenModal component can be accessed from both the handlebars and javascript files under this variable name.