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

@types/masonry-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/masonry-layout - npm Package Compare versions

Comparing version 4.0.3 to 4.0.4

masonry-layout/LICENSE

71

masonry-layout/index.d.ts
// Type definitions for Masonry 4.0
// Project: https://github.com/desandro/masonry
// Definitions by: Mark Wilson <https://github.com/m-a-wilson>
// Definitions by: Mark Wilson <https://github.com/m-a-wilson>, Travis Brown <https://github.com/warriorrocker>
// Definitions: https://github.com/borisyankov/DefinitelyTyped

@@ -8,42 +8,37 @@

// Modified from original definitions by:
// Travis Brown < https://github.com/warriorrocker>
export = Masonry;
declare namespace Masonry {
declare class Masonry {
constructor(options?: Masonry.Options);
constructor(selector: string, options?: Masonry.Options);
class Masonry implements MasonryGrid {
constructor(options?: MasonryOptions);
constructor(selector: string, options?: MasonryOptions);
}
masonry?(): void;
masonry?(eventName: string, listener: any): void;
interface MasonryGrid {
masonry?(): void;
masonry?(eventName: string, listener: any): void;
// layout
layout?(): void;
layoutItems?(items: any[], isStill?: boolean): void;
stamp?(elements: any[]): void;
unstamp?(elements: any[]): void;
// layout
layout?(): void;
layoutItems?(items: any[], isStill?: boolean): void;
stamp?(elements: any[]): void;
unstamp?(elements: any[]): void;
// add and remove items
appended?(elements: any[]): void;
prepended?(elements: any[]): void;
addItems?(elements: any[]): void;
remove?(elements: any[]): void;
// add and remove items
appended?(elements: any[]): void;
prepended?(elements: any[]): void;
addItems?(elements: any[]): void;
remove?(elements: any[]): void;
// events
on?(eventName: string, listener: any): void;
off?(eventName: string, listener: any): void;
once?(eventName: string, listener: any): void;
// events
on?(eventName: string, listener: any): void;
off?(eventName: string, listener: any): void;
once?(eventName: string, listener: any): void;
// utilities
reloadItems?(): void;
destroy?(): void;
getItemElements?(): any[];
data?(element: Element): Masonry;
}
// utilities
reloadItems?(): void;
destroy?(): void;
getItemElements?(): any[];
data?(element: Element): Masonry;
}
interface MasonryOptions {
declare namespace Masonry {
interface Options {
// layout

@@ -67,6 +62,6 @@ itemSelector?: string;

export = Masonry;
interface JQuery {
masonry(options?: Masonry.MasonryOptions): JQuery;
declare global {
interface JQuery {
masonry(options?: Masonry.Options): JQuery;
}
}
{
"name": "@types/masonry-layout",
"version": "4.0.3",
"version": "4.0.4",
"description": "TypeScript definitions for Masonry",
"license": "MIT",
"author": "Mark Wilson <https://github.com/m-a-wilson>",
"contributors": [
{
"name": "Mark Wilson",
"url": "https://github.com/m-a-wilson"
},
{
"name": "Travis Brown",
"url": "https://github.com/warriorrocker"
}
],
"main": "",

@@ -17,4 +26,4 @@ "repository": {

"peerDependencies": {},
"typesPublisherContentHash": "473522cbe169c3f2a8c24acaf0481396c1ee62dd4d7692d7aab05dc4d38598e5",
"typesPublisherContentHash": "30e4cd02df33afec3ba3a9c1413e476d1a54d60ed210711a19ec999d8e9d5086",
"typeScriptVersion": "2.0"
}

@@ -8,11 +8,10 @@ # Installation

# Details
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/masonry-layout
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/masonry-layout
Additional Details
* Last updated: Fri, 23 Dec 2016 14:14:47 GMT
* Library Dependencies: jquery
* Module Dependencies: none
* Last updated: Tue, 18 Apr 2017 15:04:41 GMT
* Dependencies: jquery
* Global values: none
# Credits
These definitions were written by Mark Wilson <https://github.com/m-a-wilson>.
These definitions were written by Mark Wilson <https://github.com/m-a-wilson>, Travis Brown <https://github.com/warriorrocker>.
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