Skip to content

Commit

Permalink
Fixed #13190 - Tooltip: Doesn't work. Show console error
Browse files Browse the repository at this point in the history
  • Loading branch information
cetincakiroglu committed Jun 13, 2023
1 parent a743c1d commit 039f3e2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 11 deletions.
1 change: 1 addition & 0 deletions src/app/components/api/tooltipoptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export interface TooltipOptions {
tooltipEvent?: 'hover' | 'focus';
/**
* Target element to attach the overlay, valid values are "body" or a local ng-template variable of another element (note: use binding with brackets for template variables, e.g. [appendTo]="mydiv" for a div element having #mydiv as variable name).
* @defaultValue body
*/
appendTo?: HTMLElement | ElementRef | TemplateRef<any> | string | null | undefined | any;
/**
Expand Down
2 changes: 1 addition & 1 deletion src/app/components/tooltip/tooltip.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ export class Tooltip implements AfterViewInit, OnDestroy {
tooltipLabel: null,
tooltipPosition: 'right',
tooltipEvent: 'hover',
appendTo: null,
appendTo: 'body',
positionStyle: null,
tooltipStyleClass: null,
tooltipZIndex: null,
Expand Down
13 changes: 3 additions & 10 deletions src/app/showcase/doc/apidoc/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -5493,7 +5493,7 @@
"name": "optionGroupChildren",
"optional": false,
"readonly": false,
"type": "string",
"type": "string | string[]",
"description": "Property name or getter function to retrieve the items of a group."
},
{
Expand Down Expand Up @@ -21825,17 +21825,10 @@
"props": [
{
"name": "message",
"optional": true,
"optional": false,
"readonly": false,
"type": "string",
"type": "Message",
"description": "Message of the closed element."
},
{
"name": "index",
"optional": true,
"readonly": false,
"type": "number",
"description": "Index of the removed element."
}
]
}
Expand Down

1 comment on commit 039f3e2

@vercel
Copy link

@vercel vercel bot commented on 039f3e2 Jun 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.