Skip to content

Commit 829fda8

Browse files
committed
Added reinitialize method to listbox component.
1 parent 11aa83f commit 829fda8

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

gwt-material/src/main/java/gwt/material/design/client/ui/MaterialListBox.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,13 @@ protected native void initializeMaterial(Element element) /*-{
162162
$wnd.jQuery(element).material_select();
163163
}-*/;
164164

165+
/**
166+
* Re initialize the material listbox component
167+
*/
168+
public void reinitialize() {
169+
initializeMaterial(getElement());
170+
}
171+
165172
/**
166173
* Sets whether this list allows multiple selections.
167174
*

0 commit comments

Comments
 (0)