
Security News
Browserslist-rs Gets Major Refactor, Cutting Binary Size by Over 1MB
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
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.
The npm package angular-confirm1 receives a total of 474 weekly downloads. As such, angular-confirm1 popularity was classified as not popular.
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
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.