fix(tooltip): Uncomment JQuery tooltip codes (#420)
This commit is contained in:
committed by
László Monda
parent
73ce1dfa67
commit
8f85254b5c
@@ -30,24 +30,24 @@ export class TooltipDirective implements AfterContentInit, OnChanges {
|
||||
}
|
||||
|
||||
private init() {
|
||||
// jQuery(this.elementRef.nativeElement).tooltip({
|
||||
// placement: this.placement,
|
||||
// html: this.html,
|
||||
// template: this.customTooltipTemplate,
|
||||
// title: this.title
|
||||
// });
|
||||
(<any>jQuery(this.elementRef.nativeElement)).tooltip({
|
||||
placement: this.placement,
|
||||
html: this.html,
|
||||
template: this.customTooltipTemplate,
|
||||
title: this.title
|
||||
});
|
||||
}
|
||||
|
||||
private fixTitle() {
|
||||
// jQuery(this.elementRef.nativeElement).tooltip({
|
||||
// placement: this.placement,
|
||||
// html: this.html,
|
||||
// template: this.customTooltipTemplate,
|
||||
// title: this.title
|
||||
// });
|
||||
(<any>jQuery(this.elementRef.nativeElement)).tooltip({
|
||||
placement: this.placement,
|
||||
html: this.html,
|
||||
template: this.customTooltipTemplate,
|
||||
title: this.title
|
||||
});
|
||||
|
||||
// jQuery(this.elementRef.nativeElement)
|
||||
// .attr('title', this.title)
|
||||
// .tooltip('fixTitle');
|
||||
(<any>jQuery(this.elementRef.nativeElement)
|
||||
.attr('title', this.title))
|
||||
.tooltip('fixTitle');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user