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
I wanted to use a popover to alert the user to a condition on a button, and to require feedback to reactivate the button. So I created a manual popover and populated the title with some markup, which worked fine.
Trouble is I have to rebind the event handler to my close button every time.
I had an honest crack at trying to amend the setContent method to use 'append' if it was a jQuery object passed in, but even though it did use append, the event handler was not preserved. I can't work out why.
The alternative would be simply to have an option for a close button to be included in the popover, so that if the trigger is 'manual' then there's a built-in way of dismissing it.
The text was updated successfully, but these errors were encountered:
Sorry, the popover doesn't support this functionality at the moment. You're best bet is subclassing the popover to add more advanced behavior. It's a cool idea, so you might be able to get help on that in the mailing list or irc channel. thanks!
I wanted to use a popover to alert the user to a condition on a button, and to require feedback to reactivate the button. So I created a manual popover and populated the title with some markup, which worked fine.
Trouble is I have to rebind the event handler to my close button every time.
I had an honest crack at trying to amend the setContent method to use 'append' if it was a jQuery object passed in, but even though it did use append, the event handler was not preserved. I can't work out why.
The alternative would be simply to have an option for a close button to be included in the popover, so that if the trigger is 'manual' then there's a built-in way of dismissing it.
The text was updated successfully, but these errors were encountered: