Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't bind to 'loop' since it isn't a known property of 'ion-slides'. #52

Closed
pxlxinzhao opened this issue Feb 9, 2017 · 2 comments
Closed

Comments

@pxlxinzhao
Copy link

I follow Readme trying to put calendar in my app. I end up with following error:

polyfills.js:3 Unhandled Promise rejection: Template parse errors:
Can't bind to 'loop' since it isn't a known property of 'ion-slides'.

  1. If 'ion-slides' is an Angular component and it has 'loop' input, then verify that it is part of this module.
  2. If 'ion-slides' is a Web Component then add "CUSTOM_ELEMENTS_SCHEMA" to the '@NgModule.schemas' of this component to suppress this message.
    ("

    <ion-slides #monthSlider [ERROR ->][loop]="true" (ionSlideDidChange)="onSlideChanged()">

    "): MonthViewComponent@2:37 ; Zone: ; Task: Promise.then ; Value: Error: Template parse errors:
    Can't bind to 'loop' since it isn't a known property of 'ion-slides'.

I do check the slides api that says loop is an input property:

loop -- boolean -- If true, continuously loop from the last slide to the first slide.

My ionic version is 2.1.4
What's happening ? Please help, thank you!

@twinssbc
Copy link
Owner

Could you provide your code snippet that using the calendar control?

@pxlxinzhao
Copy link
Author

Well, i cleaned up my project, reinstall the dependencies and somehow it worked.
Thanks for the response anyway.

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

No branches or pull requests

2 participants