Skip to content

Can't able to input images from the element #1

Description

@aayusharora

The current element works fine as
<motley-carousel></motley-carousel>
as it takes default images from carousel.component.ts and bind it using *ngFor in the template.

But, nothing changes when you pass imageArray inside the element as

<motley-carousel imageArray= []></motley-carousel>

The imageArray is defined as an @input() inside carousel.component.ts.

Problem to solve:

The carousel should take an array of objects as an input and change the default images inside it.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions