Feature Request: Global Configuration for tooltipOptions #3628
Unanswered
liorstezki
asked this question in
PrimeNG
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently, tooltip component requires setting tooltipOptions individually for each tooltip instance. It would be beneficial to have a global configuration option that allows setting default tooltip properties (e.g., tooltipPosition, positionTop, positionLeft) in one place across the entire project.
Requested Feature:
Introduce a global configuration mechanism for tooltipOptions.
Allow setting default values for properties such as tooltipPosition, positionTop, positionLeft, etc.
Ensure that individual tooltip instances can still override the global defaults if needed.
Use Case:
In large applications with many tooltips, manually specifying tooltipOptions for each instance leads to code duplication. A global configuration would improve maintainability and ensure consistency across the project.
Beta Was this translation helpful? Give feedback.
All reactions