Open laurent-le-graverend opened 9 years ago
:+1:
@laurent-le-graverend : you can move the title attribute in the notification.html inside the directive ng-bind-html.
<div zf-swipe-close="swipe" class="notification {{ color }}">
<a href="#"
class="close-button"
ng-click="hide(); $event.preventDefault(); $event.stopPropagation()">×</a>
<div class="notification-icon" ng-if="image">
<img ng-src="{{ image }}"/>
</div>
<div class="notification-content">
<h1 ng-bind-html="title"></h1>
<p ng-transclude></p>
</div>
</div>
Would be great to be able to add HTML formatted content, or at least an optional link when clicking on the notification content.
HTML formatted would be probably better because offers the possibility to have multiple links and support
ui-sref
attributes.Is it something that can be considered?