Security News
PyPI’s New Archival Feature Closes a Major Security Gap
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
angular-modal-gallery
Advanced tools
Do you like angular-modal-gallery? Please, add a 'star' to support this library
angular-modal-gallery is an Angular library (SSR compatible) to create image galleries of clickable thumbnails.
After a click, it will display a modal window with full screen images.
Modal view is composed by buttons, the current image and optionally, also navigation dots and previews.
It's also possible to navigate between these modal images with both keyboard arrows, swipe gestures and mouse clicks and close it pressing esc
.
New package name @ks89/angular-modal-gallery
as suggested by npmjs with scoping, so starting from version 6, you'll have to uninstall 'angular-modal-gallery' and install this new package.
There will be some breaking changes (obviously), but don't be scared, It won't be like version 5.0.0.
I want to fix some APIs, cleanup the code, remove Angular 4 compatibility and and some new features.
This library uses Semantic versioning 2.0.0 also known as 'semver'
angular-modal-gallery requires Internet Explorer >= 11 and Angular >= 4
angular-cli
, angular-cli + material
, SystemJS
and Webpack
HERESim Daltonism
for macOS)mousetrap
(both local and global)Image loading could be slow, because this website is hosted on Github pages
OFFICIAL DOCUMENTATION WEBSITE
npm install --save angular-modal-gallery
npm install --save hammerjs mousetrap
npm install --save-dev @types/mousetrap @types/hammerjs
From version 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.
angular-modal-gallery | font-awesome | |
---|---|---|
AngularJS | NOT SUPPORTED | |
Angular 2 | <= 3.3.5 | >= 4.0.0 |
Angular 4 | >= 5.0.0 | optional |
Angular 5 | >= 5.0.0 | optional |
Angular 6 | >= 5.4.0 | optional |
Cannot find name 'MousetrapInstance'
. What can I do?npm i --save-dev @types/mousetrap
Error: No provider for KeyboardService
. What can I do?Check CONTRIBUTING.md
in this repository
Also, if you want to generate the internal library documentation
, run npm run docs
and open ./docs/typedoc/index.html
.
The MIT License (MIT)
Copyright (c) 2017-2018 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
Created by Stefano Cappa
5.7.1
FAQs
Modal image gallery for Angular >=4
We found that angular-modal-gallery demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Research
Security News
Malicious npm package postcss-optimizer delivers BeaverTail malware, targeting developer systems; similarities to past campaigns suggest a North Korean connection.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.