angular-growl-2 icon indicating copy to clipboard operation
angular-growl-2 copied to clipboard

Added support to Zurb Foundation

Open Jacq opened this issue 11 years ago • 5 comments

Just a quick solution to add the css classes to use Zurb Foundation alert messages. To enable it I have added a "foundation" attribute to the growl directive and split the css for the icons in two different files with two different grunt build tasks.

Jacq avatar Sep 23 '14 17:09 Jacq

Hmm I like the idea for zurb foundation support but the implementation is a bit over the top. I think we can support both frameworks by adding the bootstrap and zurb classes.

class="alert alert-success alert-box success"

Or we create two separate builds, zurb or bootstrap (I dont think any one really needs to support both frameworks at the same time). We would need a little more auto build magic (so we dont need an if / else in the code)

JanStevens avatar Sep 29 '14 13:09 JanStevens

How about a possibility to override classes and icons by defining override either via provider or two way binded attribute on directive? That only leaves template override that could be done by example in documentation?

dfilipovic39 avatar Nov 11 '14 17:11 dfilipovic39

Overwriting classes and icons is a good idea, a bit more configuration and logical defaults are always nice. Would you mind creating a new PR with configurable classes and icons? Thanks!

JanStevens avatar Nov 11 '14 18:11 JanStevens

are builds done automatically? i dont have grunt installed and please grant me permissions to the repository

dfilipovic39 avatar Nov 11 '14 21:11 dfilipovic39

Should just allow a custom template file, give developers the freedom to make their own templates.

sgarbesi avatar Feb 09 '15 13:02 sgarbesi