Permalink
Browse files

Modify changeVisibility method

  • Loading branch information...
1 parent 339e7bc commit b006fcfe6210de32a729dd143403a5dc905953bc @soundTricker soundTricker committed Oct 12, 2012
Showing with 6 additions and 1 deletion.
  1. +6 −1 src/main/java/com/github/gwtbootstrap/client/ui/Popover.java
@@ -105,7 +105,12 @@ private native void configure(Element element, boolean animated,
});
}-*/;
- private native void changeVisibility(Element e, String visibility) /*-{
+ /**
+ * Change Visibility
+ * @param e target
+ * @param visibility please use VisibilityChange enum.
+ */
+ public static native void changeVisibility(Element e, String visibility) /*-{
$wnd.jQuery(e).popover(visibility);
}-*/;

0 comments on commit b006fcf

Please sign in to comment.