This allows you to have complete control over when a popover is presented above and beyond the customization that inline popovers give you. Ion-popover can also be presented programmatically by using the popoverController imported from Ionic Framework.
![discord plugin avatar hover discord plugin avatar hover](https://www.online-tech-tips.com/wp-content/uploads/2020/04/discord.jpg)
If you need fine grained control over when the popover is presented and dismissed, we recommend you use the popoverController. You can also use the trigger-action property to customize whether the popover should be presented when the trigger is left clicked, right clicked, or hovered over. For example, you can use the trigger property to designate a button that should present the popover when clicked. Using a popover inline is useful when you do not want to explicitly wire up click events to open the popover. As a result, when passing in your component you will need to wrap it in an : Instead, we use which expects an to be passed in. Since the component you passed in needs to be created when the popover is presented and destroyed when the popover is dismissed, we are unable to project the content using internally. If this is a needed functionality, we recommend using the popoverController instead. As this functionality is provided by the JavaScript framework, using ion-popover without a JavaScript framework will not destroy the component you passed in. When using ion-popover with Angular, React, or Vue, the component you pass in will be destroyed when the popover is dismissed.
#Discord plugin avatar hover how to
See Usage for an example of how to write a popover inline. This reduces the number of handlers you need to wire up in order to present the popover. Ion-popover can be used by writing the component directly in your template. Each method comes with different considerations, so be sure to use the approach that best fits your use case. There are two ways to use ion-popover: inline or via the popoverController.
![discord plugin avatar hover discord plugin avatar hover](https://static.teamviewer.com/resources/2020/05/tv-pilot-image-1.jpg)
It can be used for anything, but generally it is used for overflow actions that don't fit in the navigation bar. A Popover is a dialog that appears on top of the current page.