Skip to main content

angular bootstrap - How to delay Popover open close

app.component.html

<h4 style="padding-top:25px; padding-bottom:40px;">
  Angular Bootstrap - Popover open close delay
</h4>

<button 
  placement="bottom"
  triggers="mouseenter:mouseleave"
  [openDelay]="1000"
  [closeDelay]="3000"
  [autoClose]="'inside'"
  ngbPopover="Lorem ipsum dolor sit amet,
    consectetur adipiscing elit.
    Vivamus eget sodales justo.
    Donec eu condimentum nibh, eu congue mi.
    Phasellus malesuada ipsum sit amet faucibus placerat." 
  popoverTitle="Popover close delay 3 seconds">
  Open Popover delay 1 second
</button>
More Angular tutorials