Added remove_widget as well.

This commit is contained in:
Salehen Shovon Rahman
2015-07-31 11:40:23 -07:00
parent c12257bc52
commit a586fa0f36
+10
View File
@@ -213,6 +213,16 @@ interface Gridster {
**/
remove_widget(el: HTMLElement, callback: (el: HTMLElement) => void): Gridster;
/**
* @see remove_widget
**/
remove_widget(el: JQuery, silent?: boolean, callback?: (el: HTMLElement) => void): Gridster;
/**
* @see remove_widget
**/
remove_widget(el: JQuery, callback: (el: HTMLElement) => void): Gridster;
/**
* Returns a serialized array of the widgets in the grid.
* @param $widgets The collection of jQuery wrap ed HTMLElements you want to serialize. If no argument is passed a l widgets will be serialized.