
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
@codemotion/angular-toast
Advanced tools
ngToast is a simple Angular provider for toast notifications.
bower install ngtoast --production
# or
npm install ng-toast --production
or manually download.
<link rel="stylesheet" href="bower/bootstrap/dist/css/bootstrap.min.css">
<link rel="stylesheet" href="bower/ngtoast/dist/ngToast.min.css">
<script src="bower/angular-sanitize/angular-sanitize.min.js"></script>
<script src="bower/ngtoast/dist/ngToast.min.js"></script>
Note: only the Alerts component is used as style base, so you don't have to include complete CSS
var app = angular.module('myApp', ['ngToast']);
toast
element into your HTML:<body>
<toast></toast>
...
</body>
app.controller('myCtrl', function(ngToast) {
ngToast.create('a toast message...');
});
// for more info: http://tameraydin.github.io/ngToast/#api
ngToast comes with optional animations. In order to enable animations in ngToast, you need to include ngAnimate module into your app:
<script src="bower/angular-animate/angular-animate.min.js"></script>
Built-in
<link rel="stylesheet" href="bower/ngtoast/dist/ngToast-animations.min.css">
animation
option.app.config(['ngToastProvider', function(ngToastProvider) {
ngToastProvider.configure({
animation: 'slide' // or 'fade'
});
}]);
Built-in ngToast animations include slide
& fade
.
Custom
See the plunker using animate.css.
additionalClasses
option and ngAnimate you can easily add your own animations or wire up 3rd party css animations.app.config(['ngToastProvider', function(ngToastProvider) {
ngToastProvider.configure({
additionalClasses: 'my-animation'
});
}]);
/* Add any vendor prefixes you need */
.my-animation.ng-enter {
animation: flipInY 1s;
}
.my-animation.ng-leave {
animation: flipOutY 1s;
}
Please find at the project website.
npm install && bower install
grunt watch
, play on /srcgrunt
MIT http://tameraydin.mit-license.org/
FAQs
Angular provider for toast notifications
We found that @codemotion/angular-toast 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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.