This is a migrated thread and some comments may be shown as answers.

Angular.js and template

3 Answers 73 Views
Notification
This is a migrated thread and some comments may be shown as answers.
Gary
Top achievements
Rank 1
Gary asked on 06 Feb 2015, 07:12 PM
Hi,

So I have a notification declared in my HTML page like this :

    <div kendo-notification="welcomeNotification"
         style="display: none"
         k-position="{ top: 0, right: 0, pinned: true }"
         k-autohideafter="8000"
         k-height="'100px'"
         k-options="notificationOpt"
         k-width="'300px'"
         k-animation="{open:{ effects: 'slideIn:left'},close:{effects: 'slideIn:left',reverse:true}}"         
         k-stacking="'down'">
    </div>

And in my controller I show the notification this way : 

$scope.welcomeNotification.show("my message", "info");

It's working fine but I wanted to add a template to my notification like the example in the kendo website but I cannot find the way to do it with angular.js and kendo ui.



3 Answers, 1 is accepted

Sort by
0
Kiril Nikolov
Telerik team
answered on 10 Feb 2015, 03:10 PM

Hello Gary,

Please check the following example and let me know if it helps:

http://dojo.telerik.com/@Kiril/UCoGU

Regards,
Kiril Nikolov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
josh
Top achievements
Rank 1
answered on 23 Jun 2015, 02:51 PM

Hey Kiril Nikolov,

 

Everytime I try to open your url there is no code in there?

 

This url still exist?

 

Joshua Petrawski

0
Kiril Nikolov
Telerik team
answered on 25 Jun 2015, 08:13 AM

Hello josh,

I have attached the code from the link. Hope it helps.

Regards,
Kiril Nikolov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Notification
Asked by
Gary
Top achievements
Rank 1
Answers by
Kiril Nikolov
Telerik team
josh
Top achievements
Rank 1
Share this question
or