Custom css class for tooltips
Created by: alexfigueiredo
Say I want to customize a tooltip that I am using to show a validation message at a specific input in my form. It would be nice to have the ability to specify a class name for a tooltip, something like:
$("#my_input").tooltip({
title : 'Esse CPF já está cadastrado',
trigger : 'focus',
placement : 'top',
cssClass : 'error'
});
Better yet if it had styles to match warning
, success
, error
and info
.