Tooltip: autoHide (#4126)

* Add autohide to tooltip

* Add missing enter

---------

Co-authored-by: Mikołaj Andrasiak <mikolaj.andrasiak@ncbj.gov.pl>
This commit is contained in:
MiAnMy 2023-10-17 09:11:39 +02:00 committed by GitHub
parent 9f4cc77f3a
commit 5b876bebfc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 77 additions and 3 deletions

View file

@ -67,7 +67,12 @@ export interface TooltipOptions {
*/
hideDelay?: number | undefined;
/**
* Used to pass attributes to DOM elements inside the component.
* Whether to hide tooltip when hovering over tooltip content.
* @defaultValue true
*/
autoHide?: boolean | undefined;
/**
* Uses to pass attributes to DOM elements inside the component.
* @type {TooltipDirectivePassThroughOptions}
*/
pt?: PassThrough<TooltipDirectivePassThroughOptions>;