ovh-angular-ui-confirm-modal
v1.0.2
Published
Simple confirmation modal
Downloads
9
Maintainers
Keywords
Readme
Angular UI Confirm Modal
Simple confirmation modal
Include the module `ovh-angular-ui-confirm-modal` in your project and follow the example below.
Example
<div data-ng-controller="XdslModemResetCtrl as ResetCtrl">
<button
<!--
data-ng-really-click: This parameter is required.
`resetModem()` will be called if you accept the confimation message.
-->
data-ng-really-click="ResetCtrl.resetModem()"
<!--
data-ng-really-undo: This parameter is optional
`undo()` will be called if you cancel the confimation message.
data-ng-really-undo="ResetCtrl.undo()"
-->
data-ng-really-message="{{ 'xdsl_modem_reset_really' | translate }}"
data-ng-really-confirm="{{ 'ok' | translate }}"
data-ng-really-cancel="{{ 'cancel' | translate }}">
</button>
</div>
Installation
Bower
bower install ovh-angular-ui-confirm-modal --save
NPM
npm install ovh-angular-ui-confirm-modal --save
Get the sources
git clone https://github.com/ovh-ux/ovh-angular-ui-confirm-modal.git
cd ovh-angular-ui-confirm-modal
npm install
bower install
You've developed a new cool feature ? Fixed an annoying bug ? We'd be happy to hear from you !
Have a look in CONTRIBUTING.md
Related links
- Contribute: https://github.com/ovh-ux/ovh-angular-ui-confirm-modal
- Report bugs: https://github.com/ovh-ux/ovh-angular-ui-confirm-modal/issues
- Get latest version: https://github.com/ovh-ux/ovh-angular-ui-confirm-modal
License
See https://github.com/ovh-ux/ovh-angular-ui-confirm-modal/blob/master/LICENSE