Permalink
Browse files

Clarify .hide versus .hidePopover

  • Loading branch information...
1 parent 84461b7 commit df621c1faf6c8e874334a9bd7d22efc4e4e5d4e6 @ziz ziz committed Dec 1, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.markdown
View
@@ -86,9 +86,9 @@ You can also pass options. This would make the popover appear at the right-top e
You can access methods and data for a popover after it's been initialized via the data API.
- $('.trigger').data('popover').hidePopover();
+ $('.trigger').data('popover').hide(); // .hidePopover(event) can be used, but will stop propagation of the event
$('.trigger').data('popover').opts.my // value of 'my' option for this instance
Duck-typing the constructor function for popovers is possible by changing:
- $.fn.popover.Popover
+ $.fn.popover.Popover

0 comments on commit df621c1

Please sign in to comment.