Topic: Unable to close popover from inside the popover

narendra agashe free asked 6 years ago


I have a popover and its showing up perfectly, on the popover i have a button and on (click) of that button, I call a function and from that function i want to close the popover. I did not see any example demoing this behavior in the documentation. can somebody please point me to solution?ThanksNaren

Alex Gotardi pro answered 6 years ago


function foo() {
 ...
 $('#myPopover').popover('hide');
}
 

Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No
Tags