mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-05 23:37:04 +00:00
Merge pull request #33324 from joechrisman/master
Isotope-Layout: Added isotope method with no parameters (arrange)
This commit is contained in:
Vendored
+4
@@ -284,6 +284,10 @@ declare global {
|
||||
* Get the Isotope instance from a jQuery object. Isotope instances are useful to access Isotope properties.
|
||||
*/
|
||||
data(methodName: 'isotope'): Isotope;
|
||||
/**
|
||||
* Filters, sorts, and lays out items.
|
||||
*/
|
||||
isotope(): JQuery;
|
||||
/**
|
||||
* Lays out specified items.
|
||||
* @param elements Array of Isotope.Items
|
||||
|
||||
@@ -81,6 +81,7 @@ $grid = $('.grid').isotope({
|
||||
});
|
||||
|
||||
// test methods using jquery
|
||||
$grid.isotope();
|
||||
$grid.isotope('addItems', $('.items'));
|
||||
$grid.isotope('appended', $('.items')[0]);
|
||||
$grid.isotope('hideItemElements', [ new HTMLElement() ]);
|
||||
|
||||
Reference in New Issue
Block a user