Skip to content
This repository has been archived by the owner on Oct 20, 2018. It is now read-only.

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

Open
Mdhaker opened this issue Nov 30, 2017 · 12 comments
Open

Comments

@Mdhaker
Copy link

Mdhaker commented Nov 30, 2017

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'.

@sheikalthaf
Copy link
Owner

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

@Mdhaker
Copy link
Author

Mdhaker commented Nov 30, 2017

@sheikalthaf I already did and always the same error

@sheikalthaf
Copy link
Owner

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

@nidhi1612
Copy link

nidhi1612 commented Dec 7, 2017

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",

@sheikalthaf
Copy link
Owner

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

@nidhi1612
Copy link

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

@heena22626
Copy link

heena22626 commented Dec 22, 2017

@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

@RazorV
Copy link

RazorV commented Jan 3, 2018

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

@JigneshPatel04
Copy link

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

@thovo
Copy link

thovo commented Jan 12, 2018

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?

@sajidali2444
Copy link

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'

@sheikalthaf
Copy link
Owner

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants