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

ng-gallery

Package Overview
Dependencies
Maintainers
0
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ng-gallery - npm Package Versions

23
6

12.0.0

Diff

Changelog

Source

12.0.0

  • Add vimeo support in #575.
murhaf
published 12.0.0-beta.4 •

Changelog

Source

12.0.0-beta.4

See the storybook documentation

  • feat: Add RTL support, closes #540.
  • All boolean inputs of <gallery> components can be used as string attributes
    • e.g. <gallery autoHeight>, <gallery autoHeight="true"> and <gallery [autoHeight]="true"> sets the option's value to true.
    • e.g. <gallery autoHeight="false"> and <gallery [autoHeight]="false"> sets the option's value to false.
  • All number inputs of <gallery> components can be used as string attributes
    • e.g. <gallery playerInterval="2000"> and <gallery [playerInterval]="2000"> sets the option's value to 2000

Improved performance

  • refactor: Replace the scroll event with intersection observer to detect the active item while scrolling.

ItemAutoSize, ThumbAutoSize features

  • enhance: Toggling itemAutoSize option is now reactive.
  • fix: [thumbAutosize] causes random invalid starting thumbnail scroller position when scrolling possible, closes #521
  • fix: [ItemAutosize] in website/safari browsers do not work as expected, closes #543

AutoHeight feature

  • enhance: Auto-height feature is not more precise and works well with or without height transition
  • fix: Auto-height issue when screen size changes

Autoplay feature

  • fix: autoplay resets the timer after navigated.
  • fix: autoplay only start the timer after the image is loaded.

Bullets (previously named 'Dots')

  • feat: disableBullets disable bullets' clicks

Custom template

  • feature: Introduce galleryImage directive within galleryItemDef, to allow recognizing the img element in your custom item template.

Breaking changes

Options renamed:

Core

  • slidingDirectionorientation
  • slidingEasescrollEase
  • slidingDurationscrollDuration
  • slidingDisableddisableScroll
  • mouseSlidingDisableddisableMouseScroll
  • autoPlayautoplay

Thumbs

  • thumbthumbs
  • thumbModethumbCentralized
  • thumbModethumbCentralized
  • thumbDetacheddetachThumbs
  • thumbSlidingDisableddisableThumbMouseScroll
  • thumbMouseSlidingDisableddisableThumbMouseScroll

Bullets

  • dotsbullets
  • dotSizebulletSize
  • dotPositionbulletPosition
Input removed (no longer exist)
  • navScrollBehavior the option is now removed, use scrollBehavior instead.

murhaf
published 12.0.0-beta.3 •

murhaf
published 12.0.0-beta.2 •

murhaf
published 12.0.0-beta.1 •

murhaf
published 12.0.0-beta.0 •

murhaf
published 11.0.0 •

Changelog

Source

11.0.0

  • feat: Add galleryThumbDef, galleryImageDef, galleryItemDef, galleryBoxDef to set custom templates, closes #487.
  • feat: Add imageTemplate property to GalleryConfig.
  • feat: Add args property in case need to attach extra data with the gallery item.
  • enhance: Improve overall typings.

Breaking changes

  • Usage of setting custom template has been changed! see the wiki page for more info.
  • The inputs itemTemplate, thumbTemplate and boxTemplate has been removed from the gallery component, however they still exist in GalleryConfig
murhaf
published 10.0.0 •

Changelog

Source

10.0.0

  • feat: Migrate to standalone components.

Breaking Changes

  • Both GalleryModule and LightboxModule no longer provide the withConfig() method.
murhaf
published 9.0.1 •

Changelog

Source

9.0.1

  • Remove bezier-easing package from dependencies, closes #525 and #551 in 6c47ecb.
murhaf
published 9.0.0 •

Changelog

Source

9.0.0

  • Upgrade to Angular 16
23
6
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