Skip to content

[Tooltip]: Add show/hide triggers #16336

@RivaIvanova

Description

@RivaIvanova

Is your feature request related to a problem? Please describe.

Align the tooltip with the WC one which provides the posibility to explicitly set the triggers that will show/hide the tooltip when interacting with the target.

Describe the solution you'd like

New API for the tooltip target (IgxTooltipTargetDirective):

  • showTriggers - Which event triggers will show the tooltip. Expects a comma separate string of different event triggers.
  • hideTriggers - Which event triggers will hide the tooltip. Expects a comma separate string of different event triggers.

Describe alternatives you've considered

Extending the IgxTooltipTargetDirective and implementing the desired behavior. This can be simplified if there are properties that provide this behavior out of the box.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions