- Create a tooltip component called
tp-tooltip
- It will take an attribute called
behaviour whose value could be hover or click ( hover default )
- Hover
- When user hovers on the label it opens the tooltip description.
- There should also be event such as touch start for mobile because hover does not work on ios.
- Click
- When user clicks on the label it opens the tooltip description.
- touch event not require in this case.
Tooltip description should update its position on hover or click, so that it never goes out of the visible area.
cc: @junaidbhura
tp-tooltipbehaviourwhose value could behoverorclick( hover default )Tooltip description should update its position on hover or click, so that it never goes out of the visible area.
cc: @junaidbhura