Skip to content

Docs: Missing type "both" on tooltipEvent #19305

@jase88

Description

@jase88

Describe the bug

The tooltip implementation accepts hover, focus and both.
See

@Input() tooltipEvent: 'hover' | 'focus' | 'both' | string | any = 'hover';

The docs should reflect that the value both is possible.

Pull Request Link

#19306

Reason for not contributing a PR

  • Lack of time
  • Unsure how to implement the fix/feature
  • Difficulty understanding the codebase
  • Other

Other Reason

No response

Reproducer

https://stackblitz.com/github/primefaces/primeng-issue-template

Environment

MacOS Tahoe

Angular version

21.1.0

PrimeNG version

v21

Node version

No response

Browser(s)

Chrome

Steps to reproduce the behavior

  1. Go to https://primeng.org/tooltip
  2. Click the tab API and view the option tooltipEvent

Expected behavior

The value both is documented for tooltipEvent

Metadata

Metadata

Labels

Component: DocumentationIssue or pull request is related to DocumentationType: BugIssue contains a bug related to a specific component. Something about the component is not workinggood first issue*** Welcome to PrimeNG Family! *** Good issue!

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions