Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

smartphoto

Package Overview
Dependencies
Maintainers
2
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

smartphoto - npm Package Compare versions

Comparing version 1.4.1 to 1.4.2

14

index.d.ts

@@ -52,13 +52,13 @@ declare module "smartphoto" {

resizeStyle?: 'fit'|'cover',
};
}
export default class SmartPhoto {
constructor(selector: string | NodeListOf<HTMLElement>, option?:SmartPhotoOption);
on(event: SmartPhotoEvent, eventListener: EventListenerOrEventListenerObject);
addNewItem(element: HTMLElement);
hidePhoto(dir: 'bottom'|'top');
gotoSlide(index: number);
zoomPhoto();
zoomOutPhoto();
on(event: SmartPhotoEvent, eventListener: EventListenerOrEventListenerObject) :void;
addNewItem(element: HTMLElement): void;
hidePhoto(dir: 'bottom'|'top'): void;
gotoSlide(index: number): void;
zoomPhoto(): void;
zoomOutPhoto(): void;
}
}
{
"name": "smartphoto",
"version": "1.4.1",
"version": "1.4.2",
"description": "smartphoto",

@@ -5,0 +5,0 @@ "homepage": "http://developer.a-blogcms.jp",

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