How to access popovers programatically? #1823
-
I have been trying to close popovers with an x button. The problem is boostrap.Popover.getInstance("""somePopover""") is not working to catch it. It returns null. Is there a way? |
Beta Was this translation helpful? Give feedback.
Answered by
cemrehancavdar
Feb 10, 2024
Replies: 1 comment
-
That was my mistake, i tought i had to get it by popover. Actual thing to get is the element initializes popover. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
cemrehancavdar
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
That was my mistake, i tought i had to get it by popover. Actual thing to get is the element initializes popover.