Open vrevanna opened 8 years ago
@vrevanna i am having the same issue. Where you able to fix it and how?
Thanks!
Yes @shreyashdholakia .
Use $scope.eventMouseover = function (event, element, view) { ... }
It will work
do you have an example you could post? im trying to get this to work and not having much luck.
Try using uib-tooltip (and uib-tooltip-append-to-body) instead of just tooltip
Thank you very much for the reply.. That did get me closer.. it appears that my tooltips are being cut off by the date square on the calendar.. ive attached an image.
Thanks!!! Works well @jeroensneyers
Also, this can be used for html tooltips
element.attr({'uib-tooltip-html': "\'<p>yes</p>\'", 'uib-tooltip-append-to-body': true}); $compile(element)($scope); };
@mayson14
It still not work for me when i using uib-tooltip (and uib-tooltip-append-to-body. I am using bootstrap 3.3.7 and angular-bootstrap 2.1.3.
My code like this:
$scope.eventRender = function (event, element, view) { element.attr({ 'uib-tooltip': event.title, 'uib-tooltip-append-to-body': true }); $compile(element)($scope); };
Anyone can send me a sample code how to fix the tooltip problem?
Works ! bootstrap 3.3.4 and angular-bootstrap 2.2.0
$scope.eventRender = function( event, element, view){
element.attr({'uib-tooltip-html': "\'<p>" + event.title + "</p>\'", 'tooltip-append-to-body': true}); $compile(element)($scope);
};
Important to point out that the correct attribute is tooltip-append-to-body
and not uib-tooltip-append-to-body
. But still use uib-tooltip-html
. Frustrating I know. They really need to rename that attribute to include uib like every other directive.
Am using using bootstrap 3.1 with eventRender to display tool tip its not working but it works with twitter bootstrap 2.3.
$scope.eventRender = function( event, element, view ) { element.attr({'tooltip': event.title, 'tooltip-append-to-body': true}); $compile(element)($scope); };
$scope.uiConfig = { eventRender: $scope.eventRender }
Please let me know the approach where i can use tool tip option with bootstrap 3.1