[New Feature Request] Add ability to set attributes on the flash divs

The front end framework I use (Foundation 6.3) has some things I can use on divs to make the closeable, but the div requires a specific attribute (data-closeable) to be set on it for this to work. I've worked around this in javascript on page load, but it would be nice to be able to set attributes on a flash container, in addition to the classes that we can already set.



27.4k
edited Feb '17

Hi,

NFR should be posted on github

You can give a try to add it by yourself, it should be somewhere here: https://github.com/phalcon/cphalcon/blob/master/phalcon/flash.zep#L221



1.4k

Lemme see if I can build out a pull request to go with the feature request...