diff --git a/README.md b/README.md index 095036a..d486296 100644 --- a/README.md +++ b/README.md @@ -75,7 +75,7 @@ Finally, you have to include the directive somewhere in your HTML like this: ````html -
+
```` @@ -190,6 +190,20 @@ app.controller("demoCtrl", ['$scope', 'growl', function($scope, growl) { }]); ```` +###Close text for assisitive technology (AT) + +* Default: 'Close' + +Label for close button. If angular-translate is present, provide a key for the translate text + +````javascript +var app = angular.module('myApp', ['angular-growl']); + +app.config(['growlProvider', function(growlProvider) { + growlProvider.closeButtonText('Lukk'); +}]); +```` + ###Animations Beginning with angularJS 1.2 growl messages can be automatically animated with CSS animations when adding and/or closing diff --git a/demo/demo.html b/demo/demo.html index ba84da0..a021550 100644 --- a/demo/demo.html +++ b/demo/demo.html @@ -23,7 +23,7 @@

angular-growl Demo site

-
+