mcnull / angular-inform Goto Github PK
View Code? Open in Web Editor NEWA small growl-like easy-to-use message toaster for angular.
Home Page: https://github.com/McNull/angular-inform
License: MIT License
A small growl-like easy-to-use message toaster for angular.
Home Page: https://github.com/McNull/angular-inform
License: MIT License
Hi!
I found your module very impressive, but it's a little bit pity that I cannot use html markdown in message content.
I suggest you to add html support simple adding this line in template:
<span ng-bind-html="msg.content"></span>
instead of just
{{ msg.content }}
And add html trusting in module:
msg.content = $sce.trustAsHtml(content);
Also it will be very cool add a listener to Esc button press event to close the latest message
Is there a way to pause the TTL on message? I'd like to put a button on the notification that allows the user to pause the automatic closing of the button if that is desired.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.