
Security News
Node.js TSC Declines to Endorse Feature Bounty Program
The Node.js TSC opted not to endorse a feature bounty program, citing concerns about incentives, governance, and project neutrality.
angular-confirm1
Advanced tools
A angular plugin that provides great set of features like, Auto-close, Ajax-loading, background-dismiss, themes and more.
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.
View detailed features here Documentation & Examples
Download the latest release here and use the files within the dist
directory
##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');
}
},
});
});
See Detailed Docs + Example here.
Please post issues and feature request here Github issues
(coming in 1.11.0)
(new in 1.1.0)
(new in 1.0.1)
Copyright (C) 2016 angular-confirm
Licensed under the MIT license.
FAQs
A angular plugin that provides great set of features like, Auto-close, Ajax-loading, background-dismiss, themes and more.
We found that angular-confirm1 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The Node.js TSC opted not to endorse a feature bounty program, citing concerns about incentives, governance, and project neutrality.
Research
Security News
A look at the top trends in how threat actors are weaponizing open source packages to deliver malware and persist across the software supply chain.
Security News
ESLint now supports HTML linting with 48 new rules, expanding its language plugin system to cover more of the modern web development stack.