npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@ks89/angular-modal-gallery

v13.0.0

Published

Image gallery for Angular

Downloads

22,298

Readme

Table of Contents

  1. Main parts
  2. Features
  3. Installation
  4. OFFICIAL DOCUMENTATION
  5. Choose the version
  6. News
  7. FAQS
  8. Contributing
  9. A big 'thank you' to
  10. License

:rocket: Main parts :rocket:

Carousel

Modal Gallery

Plain Gallery

:boom: Features :boom:

  • Angular Module to import this library
  • compliant to Angular Package Format specifications and recommendations
  • use Semantic versioning 2.0.0 also known as 'semver'
  • official examples with angular-cli, angular-cli + material and angular-universal HERE
  • unit testing with high % coverage
  • Server Side Rendering support with angular-universal
  • Web Accessibility features, like ARIA support and toptal.com criteria (tested with Sim Daltonism for macOS)
  • image download with buttons or keyboard shortcuts
  • fully configurable default buttons to either close, download, navigate to an external url or delete images and so on
  • support custom buttons with both pre and after hooks
  • click outside feature to close the modal gallery clicking on the background
  • configurable plain gallery
  • configurable carousel
  • configurable side-previews (visible only on bigger screen)
  • configurable dots navigation (visible only on bigger screen)
  • configurable previews (visible only on bigger screen)
  • and many more... (check the official documentation HERE)

:package: Installation :package:

  • npm install --save @ks89/angular-modal-gallery
  • npm install --save @angular/cdk

From version @ks89/angular-modal-gallery >= 5.0.0, font-awesome isn't a mandatory dependency. You can use all default features without font-awesome. For more info, check official documentation website. From version @ks89/angular-modal-gallery >= 11.0.0, mousetrap and hammerjs have been removed as dependencies.

:book: Documentation :book:

Image loading could be slow, because this website is hosted on Github pages

OFFICIAL DOCUMENTATION WEBSITE

:warning: Choose the right version :warning:

| | @ks89/angular-modal-gallery | font-awesome | |------------|:---------------------------:| :---: | | AngularJS | NOT SUPPORTED | | | Angular 2 | = 3.3.5 | >= 4.0.0 | | Angular 4 | = 5.7.1 | optional | | Angular 5 | = 6.3.0 | optional | | Angular 6 | = 7.2.7 | optional | | Angular 7 | = 7.2.7 | optional | | Angular 8 | = 7.2.7 | optional | | Angular 9 | = 7.2.7 | optional | | Angular 10 | = 7.2.7 | optional | | Angular 11 | = 7.2.7 | optional | | Angular 12 | = 8.0.1 | optional | | Angular 13 | = 9.1.0 | optional | | Angular 14 | = 9.1.0 | optional | | Angular 15 | = 10.0.1 | optional | | Angular 16 | = 11.1.1 | optional | | Angular 17 | = 11.1.1 | optional | | Angular 18 | = 12.0.0 | optional | | Angular 19 | >= 13.0.0 | optional |

:fire: News :fire:

More than 100 releases in two years, and more to come... :)

  • 22/12/2024 - 13.0.0 - @ks89/angular-modal-gallery - HERE
  • 31/05/2024 - 12.0.0 - @ks89/angular-modal-gallery - HERE
  • 31/01/2024 - 11.1.2 - @ks89/angular-modal-gallery - HERE
  • 09/12/2023 - 11.1.1 - @ks89/angular-modal-gallery - HERE
  • 08/16/2023 - 11.1.0 - @ks89/angular-modal-gallery - HERE
  • 08/06/2023 - 11.1.0-rc.1 - @ks89/angular-modal-gallery - HERE
  • 07/08/2023 - 11.0.0 - @ks89/angular-modal-gallery - HERE
  • 06/01/2023 - 11.0.0-rc.1 - @ks89/angular-modal-gallery - HERE
  • 11/18/2022 - 10.0.1 - @ks89/angular-modal-gallery - HERE
  • 11/17/2022 - 10.0.0 - @ks89/angular-modal-gallery - HERE
  • 08/03/2022 - 10.0.0-rc.1 - @ks89/angular-modal-gallery - HERE
  • 05/10/2022 - 9.1.0 - @ks89/angular-modal-gallery - HERE
  • 04/23/2022 - 9.1.0-beta.2 - @ks89/angular-modal-gallery - HERE
  • 04/14/2022 - 9.1.0-beta.1 - @ks89/angular-modal-gallery - HERE
  • 11/15/2021 - 9.0.1 - @ks89/angular-modal-gallery - HERE
  • 11/06/2021 - 9.0.0 - @ks89/angular-modal-gallery - HERE
  • 09/27/2021 - 8.0.1 - @ks89/angular-modal-gallery - HERE
  • 07/10/2021 - 8.0.0 - @ks89/angular-modal-gallery - HERE
    • ... (many beta 8.x.x versions)
  • 12/05/2020 - 7.2.7 - @ks89/angular-modal-gallery - HERE
    • ... (many minor 7.x.x versions)
  • 12/06/2018 - 7.0.0 - @ks89/angular-modal-gallery - HERE
  • 10/11/2018 - 6.3.0 - angular-modal-gallery - HERE
  • ... (many minor 6.x.x versions)
  • 06/10/2018 - 6.0.0 - @ks89/angular-modal-gallery - HERE
  • ... (many minor 5.x.x versions)
  • 02/27/2018 - 5.0.0 - angular-modal-gallery - HERE
  • ... (many minor 4.x.x versions)
  • 11/05/2017 - 4.0.0 - angular-modal-gallery - HERE
  • ... (many minor 3.x.x versions)
  • 03/20/2017 - 3.0.0 - angular-modal-gallery - HERE
  • ... (many minor 2.x.x versions)
  • 01/29/2017 - 2.0.0 - angular-modal-gallery - HERE

:question: FAQS :question:

  1. Question: How can I remove images using DELETE button without issues? Answer: You cannot change the input image array. Instead, you should reassign it with a newer array without the deleted element. In other words, you must think in a functional way, without changing the input array of images. For more information check this official demo HERE.

:computer: Contributing :computer:

Check CONTRIBUTING.md in this repository. To understand how to contribute to an open source project, HERE you can find useful information.

When you create a pull request, please, format your code to be consistent with the existing code. I suggest to use WebStorm as IDE and when you commit don't use a third party software, but the official command line git. In this way, prettier will run using my configuration, and it will auto-format the code. If it fails, add files with git add . again and retry.

:sparkling_heart: A big thank you to :sparkling_heart:

all authors of icons used in this library:
  • Icons made by Smartline from www.flaticon.com is licensed by CC 3.0 BY
  • Icons made by Dave Gandy from www.flaticon.com is licensed by CC 3.0 BY
  • Icons made by Freepik from www.flaticon.com is licensed by CC 3.0 BY
  • Icons made by Those Icons from www.flaticon.com is licensed by CC 3.0 BY
  • Icons made by Gregor Cresnar from www.flaticon.com is licensed by CC 3.0 BY
  • Icons made by Smashicons from www.flaticon.com is licensed by CC 3.0 BY
  • Icons made by Dario Ferrando from www.flaticon.com is licensed by CC 3.0 BY
all authors of spinners used in this library:
  • Luke Haas (@lukehaas) - lukehaas/css-loaders
  • Martin van Driel (@martinvd) - martinvd example on codepen.io
  • Devilish Alchemist - devilishalchemist example on codepen.io
  • Nikhil Krishnan - nikhil8krishnan example on codepen.io
  • Anastasiya Kuligina - Anastasiya Kuligina example on codepen.io

:copyright: License :copyright:

The MIT License (MIT)

Copyright (c) 2017-2024 Stefano Cappa (Ks89)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON INFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

If you like my projects you can do a free donation here Donate

FOSSA report

FOSSA Status

Created by Stefano Cappa

⬆ back to top