Position in AngularJS

2 posts, 1 answers
  1. Matthew
    Matthew avatar
    33 posts
    Member since:
    Aug 2008

    Posted 26 Oct 2015 Link to this post

    I have tried to change the position of tooltip in Angular using k-position but it does not work. See http://dojo.telerik.com/EjALA Can the tool tip position be changed in the Angular syntax?


    <div kendo-tooltip k-content="'Sample Content'" k-position="left">
        Tool Tip

    Thanks, Matt

  2. Answer
    Konstantin Dikov
    Konstantin Dikov avatar
    2466 posts

    Posted 27 Oct 2015 Link to this post

    Hello Matthew,

    In your example you need to pass the "left" value as a string: "'left'":
    With your current syntax, the widget expects "left" to be a variable from the scope:
    <div kendo-tooltip k-content="'The <b>tooltip</b><br />Time is: {{time}}'" class="k-group" k-position="left">
        angular.module("KendoDemos", ["kendo.directives"])
            .controller("MyCtrl", function ($scope, $timeout) {
                $scope.left = "left";

    Hope this helps.

    Konstantin Dikov
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top