Angular.js and template

4 posts, 0 answers
  1. Gary
    Gary avatar
    9 posts
    Member since:
    Feb 2013

    Posted 06 Feb 2015 Link to this post

    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.



  2. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2564 posts

    Posted 10 Feb 2015 Link to this post

    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!
     
  3. Kendo UI is VS 2017 Ready
  4. josh
    josh avatar
    1 posts
    Member since:
    Sep 2014

    Posted 23 Jun 2015 in reply to Kiril Nikolov Link to this post

    Hey Kiril Nikolov,

     

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

     

    This url still exist?

     

    Joshua Petrawski

  5. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2564 posts

    Posted 25 Jun 2015 Link to this post

    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!
     
Back to Top
Kendo UI is VS 2017 Ready