ngx-carousel icon indicating copy to clipboard operation
ngx-carousel copied to clipboard

Can't bind to 'inputs' since it isn't a known property of 'ngx-carousel'.

Open Mdhaker opened this issue 7 years ago • 12 comments

Hi, I'm running angular 5.0.3 and installed ngx-carousel "ngx-carousel": "^1.3.5" I'm trying the code in the demo Tile!

<ngx-carousel [inputs]="carouselTile" (carouselLoad)="carouselTileLoad($event)">

    <ngx-tile NgxCarouselItem *ngFor="let Tile of carouselTileItems">
        <h1>{{Tile + 1}}</h1>
    </ngx-tile>

    <button NgxCarouselPrev class='leftRs'>&lt;</button>
    <button NgxCarouselNext class='rightRs'>&gt;</button>
</ngx-carousel>

and I have a template parse error in the console saying:

Can't bind to 'inputs' since it isn't a known property of 'ngx-carousel'.

Mdhaker avatar Nov 30 '17 14:11 Mdhaker

@Mdhaker try this carousel with universal support in another repo @ngu/carousel.

sheikalthaf avatar Nov 30 '17 16:11 sheikalthaf

@sheikalthaf I already did and always the same error

Mdhaker avatar Nov 30 '17 16:11 Mdhaker

@Mdhaker I tried with Angular 5.0.5 but haven't faced the issue

sheikalthaf avatar Dec 07 '17 09:12 sheikalthaf

Hi @sheikalthaf , we wanted to use ngz-carousel with our ionic app. Below are version specifications, we are also facing the same issue. Can you guide us with the solution. Is it possible to use ngx-carousel with ionic 3 application?

angular/common: 4.1.3, angular/compiler: "4.1.3, angular/compiler-cli: "4.1.3", angular/core: "4.1.3", angular/forms: "4.1.3", angular/http: "4.1.3", angular/platform-browser: "4.1.3", angular/platform-browser-dynamic: "4.1.3", ionic-angular: "3.5.3",

nidhi1612 avatar Dec 07 '17 10:12 nidhi1612

@nidhi1612 yes it supported. But I need some time to test. I recommend you to use @ngu/carousel because your angular version is 4+

sheikalthaf avatar Dec 08 '17 14:12 sheikalthaf

Hi @sheikalthaf I am still facing the same issue when i use @ngu?carousel. :( can you please tell me how to proceed further.

nidhi1612 avatar Dec 09 '17 11:12 nidhi1612

@mdhaker I'm also facing the same issue, if you resolved it please let me know. Its showing me the same error with "inputs" property

heena22626 avatar Dec 22 '17 11:12 heena22626

Just check did you import NgxCarouselModule in module with your component, its not always App module.

RazorV avatar Jan 03 '18 22:01 RazorV

It is working in my app. details.moduls.ts : - import { NgxCarouselModule } from 'ngx-carousel'; @NgModule({ imports: [ ------,

NgxCarouselModule

], })

follow this other :https://www.npmjs.com/package/ngx-carousel

JigneshPatel04 avatar Jan 05 '18 05:01 JigneshPatel04

I just scratch my head off with this issue, I already tried to add this in app.module.ts and next is my sub-module but it didn't work either. Where should I import it or did I miss something?

thovo avatar Jan 12 '18 14:01 thovo

same problem with 5.2.1 angular version any fix or any solution, please. can someone me in solving the problem. Can't bind to 'inputs' since it isn't a known property of 'ngx-carousel'

sajidali2444 avatar Jan 19 '18 18:01 sajidali2444

solution for this issue is in #82 . @Mdhaker @nidhi1612 @heena22626 @RazorV

sheikalthaf avatar Jan 21 '18 06:01 sheikalthaf