You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the docs, it says 'If a function is given, it will be called with its this reference set to the element that the popover is attached to.' But this no longer seems to be true in 5.3.
Now, I needed to pass an argument to the function, and that argument is a reference to the element that the popover/tooltip is attached to.
I looked through the internal functions '_resolvePossibleFunction' and 'execute' and this is how it appears to be structured now.
So the docs should be updated to reflect this.
Reduced test cases
Uneccessary
What operating system(s) are you seeing the problem on?
macOS
What browser(s) are you seeing the problem on?
Chrome
What version of Bootstrap are you using?
5.3
The text was updated successfully, but these errors were encountered:
Prerequisites
Describe the issue
In the docs, it says 'If a function is given, it will be called with its this reference set to the element that the popover is attached to.' But this no longer seems to be true in 5.3.
Now, I needed to pass an argument to the function, and that argument is a reference to the element that the popover/tooltip is attached to.
I looked through the internal functions '_resolvePossibleFunction' and 'execute' and this is how it appears to be structured now.
So the docs should be updated to reflect this.
Reduced test cases
Uneccessary
What operating system(s) are you seeing the problem on?
macOS
What browser(s) are you seeing the problem on?
Chrome
What version of Bootstrap are you using?
5.3
The text was updated successfully, but these errors were encountered: