Huge News!Announcing our $40M Series B led by Abstract Ventures.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.2 to 4.0.3

34

masonry-layout/index.d.ts

@@ -1,2 +0,2 @@

// Type definitions for Masonry 4.0.0
// Type definitions for Masonry 4.0
// Project: https://github.com/desandro/masonry

@@ -11,5 +11,5 @@ // Definitions by: Mark Wilson <https://github.com/m-a-wilson>

declare module Masonry {
declare namespace Masonry {
class Masonry implements MasonryGrid {
class Masonry implements MasonryGrid {
constructor(options?: MasonryOptions);

@@ -19,3 +19,3 @@ constructor(selector: string, options?: MasonryOptions);

interface MasonryGrid {
interface MasonryGrid {
masonry?(): void;

@@ -26,11 +26,11 @@ masonry?(eventName: string, listener: any): void;

layout?(): void;
layoutItems?(items: Array<any>, isStill?: boolean): void;
stamp?(elements: Array<any>): void;
unstamp?(elements: Array<any>): void;
layoutItems?(items: any[], isStill?: boolean): void;
stamp?(elements: any[]): void;
unstamp?(elements: any[]): void;
// add and remove items
appended?(elements: Array<any>): void;
prepended?(elements: Array<any>): void;
addItems?(elements: Array<any>): void;
remove?(elements: Array<any>): void;
appended?(elements: any[]): void;
prepended?(elements: any[]): void;
addItems?(elements: any[]): void;
remove?(elements: any[]): void;

@@ -45,7 +45,7 @@ // events

destroy?(): void;
getItemElements?(): Array<any>;
getItemElements?(): any[];
data?(element: Element): Masonry;
}
interface MasonryOptions {
interface MasonryOptions {

@@ -63,3 +63,3 @@ // layout

// setup
containerStyle?: Object;
containerStyle?: {};
transitionDuration?: any;

@@ -71,6 +71,6 @@ resize?: boolean;

export = Masonry;
interface JQuery {
masonry(options?: Masonry.MasonryOptions): JQuery;
masonry(options?: Masonry.MasonryOptions): JQuery;
}
{
"name": "@types/masonry-layout",
"version": "4.0.2",
"description": "TypeScript definitions for Masonry 4.0.0",
"version": "4.0.3",
"description": "TypeScript definitions for Masonry",
"license": "MIT",

@@ -17,4 +17,4 @@ "author": "Mark Wilson <https://github.com/m-a-wilson>",

"peerDependencies": {},
"typings": "index.d.ts",
"typesPublisherContentHash": "fa1ed03674671324beb55d22636bf15c175f413cba6b7a0607e5da9d5d3638cd"
"typesPublisherContentHash": "473522cbe169c3f2a8c24acaf0481396c1ee62dd4d7692d7aab05dc4d38598e5",
"typeScriptVersion": "2.0"
}

@@ -5,15 +5,14 @@ # Installation

# Summary
This package contains type definitions for Masonry 4.0.0 (https://github.com/desandro/masonry).
This package contains type definitions for Masonry (https://github.com/desandro/masonry).
# Details
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/types-2.0/masonry-layout
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/masonry-layout
Additional Details
* Last updated: Mon, 21 Nov 2016 21:02:57 GMT
* File structure: Global
* Last updated: Fri, 23 Dec 2016 14:14:47 GMT
* Library Dependencies: jquery
* Module Dependencies: none
* Global values: Masonry
* Global values: none
# Credits
These definitions were written by Mark Wilson <https://github.com/m-a-wilson>.
{
"authors": "Mark Wilson <https://github.com/m-a-wilson>",
"definitionFilename": "index.d.ts",
"libraryDependencies": [

@@ -10,12 +9,12 @@ "jquery"

"libraryMinorVersion": 0,
"libraryName": "Masonry 4.0.0",
"typeScriptVersion": "2.0",
"libraryName": "Masonry",
"typingsPackageName": "masonry-layout",
"projectName": "https://github.com/desandro/masonry",
"sourceRepoURL": "https://www.github.com/DefinitelyTyped/DefinitelyTyped",
"sourceBranch": "types-2.0",
"kind": "Global",
"globals": [
"Masonry"
"sourceBranch": "master",
"globals": [],
"declaredModules": [
"masonry-layout"
],
"declaredModules": [],
"files": [

@@ -25,3 +24,3 @@ "index.d.ts"

"hasPackageJson": false,
"contentHash": "fa1ed03674671324beb55d22636bf15c175f413cba6b7a0607e5da9d5d3638cd"
"contentHash": "473522cbe169c3f2a8c24acaf0481396c1ee62dd4d7692d7aab05dc4d38598e5"
}
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