You can define a function that is called when the popup is rendered that should return either an HTML string or the contents of the element.
This function is passed the mouse/touch event as its first argument and the component of the element that triggered the popup as the second argument.
The onRendered callback function passed into the third argument allows you to register a callback that will be triggered when the popup has been added to the dom but before its position is confirmed. This can be useful when you are trying to use a 3rd party library that needs the element to be visible before it can be instantiated. To use this function you need to pass a callback that runs any of your required code as the only argument.
You can define a function that is called when the popup is rendered that should return either an HTML string or the contents of the element. This function is passed the mouse/touch event as its first argument and the component of the element that triggered the popup as the second argument. The
onRenderedcallback function passed into the third argument allows you to register a callback that will be triggered when the popup has been added to the dom but before its position is confirmed. This can be useful when you are trying to use a 3rd party library that needs the element to be visible before it can be instantiated. To use this function you need to pass a callback that runs any of your required code as the only argument.