Big news!Introducing Socket AI - ChatGPT-Powered Threat Analysis. Learn more
Socket
Log inDemoInstall

angular-confirm1

Package Overview
Dependencies
0
Maintainers
1
Versions
1
Issues
File Explorer

Advanced tools

angular-confirm1

A angular plugin that provides great set of features like, Auto-close, Ajax-loading, background-dismiss, themes and more.

    1.1.0latest
    GitHub

Version published
Maintainers
1
Weekly downloads
530
decreased by-32.48%

Weekly downloads

Changelog

Source

angular-confirm v1.1.0

  • Major performance fixes
  • Fix memory leaks
  • Removed ngAnimate and ngSanitize as dependencies
  • added set methods to modal
  • watchInterval property removed, content watch is now done with $digest
  • button functions added
  • theme fixes
  • onScopeReady callback added

Readme

Source

jquery-confirm

alerts, confirms and dialogs in one.

v1.1.0

Angular-confirm targets to make it really easy to use confirm dialogs with angular.
With angular-confirm you can harness the angular two-way data binding to update the content as well as make changes to the model in runtime.

A re-write of the jquery-confirm v3 plugin with all features.

  • Define multiple buttons
  • Trigger buttons on key up events
  • Beautiful themes and animations
  • All modal properties are two-way binded.
  • Do things the angular way

View detailed features here Documentation & Examples

Installation

Download the latest release here and use the files within the dist directory

  • bower, npm are coming soon.

##Basic usage

The snippet below shows the most commonly used properties, there are more to find in the docs.

angular.module('myApp', ['cp.ngConfirm']) .controller('myController', function($scope, $ngConfirm){ $scope.hey = 'Hello there!'; $ngConfirm({ title: 'What is up?', content: 'Here goes a little content, <strong>{{hey}}</strong>', contentUrl: 'template.html', // if contentUrl is provided, 'content' is ignored. scope: $scope, buttons: { // long hand button definition ok: { text: "ok!", btnClass: 'btn-primary', keys: ['enter'], // will trigger when enter is pressed action: function(scope){ $ngConfirm('the user clicked ok'); } }, // short hand button definition close: function(scope){ $ngConfirm('the user clicked close'); } }, }); });

Demo and Documentation

See Detailed Docs + Example here.

Issues

Please post issues and feature request here Github issues

Version changes

(coming in 1.11.0)

  • remove jquery as dependency

(new in 1.1.0)

  • Major performance fixes
  • Fix memory leaks
  • Removed ngAnimate and ngSanitize as dependencies
  • added set methods to modal
  • watchInterval property removed, content watch is now done with $digest
  • button functions added
  • theme fixes
  • onScopeReady callback added

(new in 1.0.1)

  • Added project to bower

Copyright (C) 2016 angular-confirm

Licensed under the MIT license.

Keywords

FAQs

Last updated on 29 Mar 2017

Did you know?

Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install Socket
Socket
support@socket.devSocket SOC 2 Logo

Product

  • Package Issues
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc