Notorious Public Menace

    ovh-angular-ui-confirm-modal

    1.0.2 • Public • Published

    Angular UI Confirm Modal

    OVH component deprecated

    deprecated Build Status

    NPM

    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

    License

    See https://github.com/ovh-ux/ovh-angular-ui-confirm-modal/blob/master/LICENSE

    Keywords

    none

    Install

    npm i ovh-angular-ui-confirm-modal

    DownloadsWeekly Downloads

    5

    Version

    1.0.2

    License

    none

    Last publish

    Collaborators

    • marie-j
    • jisay
    • axelpeter
    • blary_jp
    • antleblanc
    • cbourgois
    • ovh-ux-cds
    • lizardk
    • ovh
    • gioindahouz
    • jleveugle
    • bnjjj
    • khuang