New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@types/isotope-layout

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/isotope-layout - npm Package Compare versions

Comparing version 3.0.9 to 3.0.10

53

isotope-layout/index.d.ts

@@ -9,7 +9,16 @@ // Type definitions for isotope 3.0

export as namespace Isotope
export as namespace Isotope;
export = Isotope;
declare namespace Isotope {
type LayoutModes = 'masonry' | 'fitRows' | 'cellsByRow' | 'vertical' | 'packery' | 'masonryHorizontal' | 'fitColumns' | 'cellsByColumn' | 'horiz';
type LayoutModes =
| "masonry"
| "fitRows"
| "cellsByRow"
| "vertical"
| "packery"
| "masonryHorizontal"
| "fitColumns"
| "cellsByColumn"
| "horiz";
type Elements = HTMLElement[] | HTMLElement | JQuery | NodeList;

@@ -274,4 +283,4 @@

declare const Isotope: {
prototype: Isotope,
new (elementOrSelector: HTMLElement | string, options: Isotope.IsotopeOptions): Isotope;
prototype: Isotope;
new(elementOrSelector: HTMLElement | string, options: Isotope.IsotopeOptions): Isotope;
/**

@@ -288,3 +297,3 @@ * Get the Isotope instance via its element. Isotope.data() is useful for getting the Isotope instance in JavaScript, after it has been initalized in HTML.

*/
data(methodName: 'isotope'): Isotope;
data(methodName: "isotope"): Isotope;
/**

@@ -299,3 +308,3 @@ * Filters, sorts, and lays out items.

*/
isotope(methodName: 'layoutItems', elements: HTMLElement[], isStill: boolean): JQuery;
isotope(methodName: "layoutItems", elements: HTMLElement[], isStill: boolean): JQuery;
/**

@@ -305,3 +314,3 @@ * Adds item elements to the Isotope instance. addItems does not lay out items like appended, prepended, or insert.

*/
isotope(methodName: 'addItems', elements: Isotope.Elements): JQuery;
isotope(methodName: "addItems", elements: Isotope.Elements): JQuery;
/**

@@ -311,3 +320,3 @@ * Adds and lays out newly appended item elements to the end of the layout.

*/
isotope(methodName: 'appended', elements: Isotope.Elements): JQuery;
isotope(methodName: "appended", elements: Isotope.Elements): JQuery;
/**

@@ -317,3 +326,3 @@ * Hide items.

*/
isotope(methodName: 'hideItemElements', elements: Isotope.Elements): JQuery;
isotope(methodName: "hideItemElements", elements: Isotope.Elements): JQuery;
/**

@@ -323,3 +332,3 @@ * Appends elements into container element, adds elements as items, and arranges items with filtering and sorting.

*/
isotope(methodName: 'insert', elements: Isotope.Elements): JQuery;
isotope(methodName: "insert", elements: Isotope.Elements): JQuery;
/**

@@ -329,3 +338,3 @@ * Adds and lays out newly prepended item elements at the beginning of layout.

*/
isotope(methodName: 'prepended', elements: Isotope.Elements): JQuery;
isotope(methodName: "prepended", elements: Isotope.Elements): JQuery;
/**

@@ -335,3 +344,3 @@ * Removes elements from the Isotope instance and DOM.

*/
isotope(methodName: 'remove', elements: Isotope.Elements): JQuery;
isotope(methodName: "remove", elements: Isotope.Elements): JQuery;
/**

@@ -341,3 +350,3 @@ * Reveals hidden items.

*/
isotope(methodName: 'revealItemElements', elements: Isotope.Elements): JQuery;
isotope(methodName: "revealItemElements", elements: Isotope.Elements): JQuery;
/**

@@ -348,3 +357,3 @@ * Stamps elements in the layout. Isotope will lay out item elements around stamped elements.

*/
isotope(methodName: 'stamp', elements: Isotope.Elements): JQuery;
isotope(methodName: "stamp", elements: Isotope.Elements): JQuery;
/**

@@ -354,3 +363,3 @@ * Un-stamps elements in the layout, so that Isotope will no longer layout item elements around them.

*/
isotope(methodName: 'unstamp', elements: Isotope.Elements): JQuery;
isotope(methodName: "unstamp", elements: Isotope.Elements): JQuery;
/**

@@ -360,19 +369,19 @@ * Updates sort data

*/
isotope(methodName: 'updateSortData', elements: Isotope.Elements): JQuery;
isotope(methodName: "updateSortData", elements: Isotope.Elements): JQuery;
/**
* Removes the Isotope functionality completely. destroy will return the element back to its pre-initialized state.
*/
isotope(methodName: 'destroy'): void;
isotope(methodName: "destroy"): void;
/**
* Returns an array of filtered item elements in current sorted order.
*/
isotope(methodName: 'getFilteredItemElements'): Element[];
isotope(methodName: "getFilteredItemElements"): Element[];
/**
* Returns an array of all item elements in the Isotope instance.
*/
isotope(methodName: 'getItemElements'): Element[];
isotope(methodName: "getItemElements"): Element[];
/**
* Lays out all item elements. layout is useful when an item has changed size, and all items need to be laid out again. layout does not apply filtering or sorting.
*/
isotope(methodName: 'layout'): JQuery;
isotope(methodName: "layout"): JQuery;
/**

@@ -382,7 +391,7 @@ * Recollects all item elements.

*/
isotope(methodName: 'reloadItems'): JQuery;
isotope(methodName: "reloadItems"): JQuery;
/**
* Shuffles items in a random order.
*/
isotope(methodName: 'shuffle'): JQuery;
isotope(methodName: "shuffle"): JQuery;
/**

@@ -389,0 +398,0 @@ * Filters, sorts, and lays out items. Pass in options to apply filtering and sorting.

{
"name": "@types/isotope-layout",
"version": "3.0.9",
"version": "3.0.10",
"description": "TypeScript definitions for isotope",

@@ -33,4 +33,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/isotope-layout",

"dependencies": {},
"typesPublisherContentHash": "38597117ab06fffb316bcb84a2ccaf3de743c6ece43eeb2d416b88a745b275d2",
"typeScriptVersion": "3.6"
"typesPublisherContentHash": "33a927799165b42b09d2e2179de9c0fc0907a6307b2a7499d20f4c6f95836ff8",
"typeScriptVersion": "4.5"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Thu, 08 Jul 2021 14:23:21 GMT
* Last updated: Tue, 26 Sep 2023 14:36:22 GMT
* Dependencies: none

@@ -14,0 +14,0 @@ * Global values: `Isotope`

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc