Giter VIP home page Giter VIP logo

ng-mat-carousel's Introduction

ng-mat-carousel's People

Contributors

alerubis avatar cayan avatar chriswnewman avatar dependabot-preview[bot] avatar dependabot[bot] avatar gbrlsnchs avatar lenart91 avatar ralftar avatar sushilnyk avatar tiagoblackcode avatar tobiasstrebitzer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

ng-mat-carousel's Issues

Carousel prevents vertical scroll on touch devices

The carousel currently prevents a user from scrolling on touch enabled devices. The user can swipe left/right to change slides, but not up/down for page scrolling.

Platforms tested:
-iPhone 11 Pro, iOS 14.2
-Yoga C740 14", Windows 10 Home

license author

Hello.
When using the library, it is enough to include the license file from repository?
Or I need to additionally include @ralftar in my application license.txt?

Accessability

Lighthouse reports

  • ARIA input fields do not have accessible names
    • ul.carousel-list
  • Buttons do not have an accessible name

Swipe Not Working On Angular 10

dependencies using:
"dependencies": { "@angular-material-extensions/password-strength": "^6.0.0", "@angular/animations": "~10.0.5", "@angular/cdk": "^10.1.0", "@angular/common": "~10.0.5", "@angular/compiler": "~10.0.5", "@angular/core": "~10.0.5", "@angular/fire": "^6.0.2", "@angular/flex-layout": "^9.0.0-beta.31", "@angular/forms": "~10.0.5", "@angular/material": "^10.1.0", "@angular/platform-browser": "~10.0.5", "@angular/platform-browser-dynamic": "~10.0.5", "@angular/router": "~10.0.5", "bootstrap": "^4.5.0", "firebase": "^7.17.1", "hammerjs": "^2.0.8", "mat-video": "^2.8.1", "ng-mat-carousel": "^0.7.7", "ngx-auth-firebaseui": "^4.4.0", "password-strength": "github:angular-material-extensions/password-strength", "rxjs": "~6.6.0", "tslib": "^2.0.0", "zone.js": "~0.10.2" },

Upgrading from 0.7.9 to 0.11.1

I'm in the process of upgrading my app from Angular 10 to 11. While 0.7.9 seems to work just fine with Angular 11, I'd like to upgrade this package as well. However, when I run npm install [email protected] I get the following error:

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: [email protected]
npm ERR! Found: @angular/[email protected]
npm ERR! node_modules/@angular/common
npm ERR!   @angular/common@"^11.2.11" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer @angular/common@"~10.0.4" from [email protected]
npm ERR! node_modules/ng-mat-carousel
npm ERR!   ng-mat-carousel@"0.11.1" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 
npm ERR! See /Users/xxxxx/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/xxxx/.npm/_logs/2021-04-23T16_44_01_703Z-debug.log

I can't for the life of me figure out where @angular/common@"~10.0.4 is coming from. My package.json has "@angular/common": "^11.2.11". This project has "@angular/common": "^11.0.2". Any thoughts on where this could be coming from?

Unable to map the content of mat-carousel-slide using a list

I was trying to put some inner content in the carousel, the way you did in the demo. Except that, I want the content to be dynamic and based out of a list. I have used the list object for iteration of mat-carousel-slide and it renders the number of slides eual to number of item in list.

However, wen I try to bind some data from the list object in the inner content, the content just doesn't show up.
Am I missing on some property here, or this is not yet supported ?

Below is my code for reference. Using this code, I only get a blank carousel with only indicators and arrows.

[<div [style.height]="'auto'">
                        <mat-carousel timings="250ms ease-in" [autoplay]="false" interval="5000" color="accent" maxWidth="auto" slides="events.length" [loop]="true" [slideHeight]="'200px'" [maintainAspectRatio]="true" [proportion]="50" [hideArrows]="true" [hideIndicators]="false"
                            orientation="ltr">
                            <mat-carousel-slide #matCarouselSlide *ngFor="let slide of events; let i = index" overlayColor="#00000040" [hideOverlay]="true" [image]="'/assets/images/a.png'">
                                <div>{{slide.name}}</div>
                                <div>{{slide.description}}</div>
                               <!--  I want to insert some custom template or a custom component here -->


                                
                            </mat-carousel-slide>
                        </mat-carousel>]

Is there a way, I can show content or a component inside?

Upgrade to angular 15- 16

Hi
Is anyone having a clone of this library or planning to upgrade to angular v15 or v16 as this library has not been updated since long time I am getting blocked in upgrading my parent application to V16 .
Any help will be appreciated

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.