Skip to content

Strike Carousel Not working with aura:iteration #225

@bryceckdev

Description

@bryceckdev

Hi,
First of all, thank you for all the great tool from strike components lib!

I've been using the strike carousel with carousel card with aura:iteration component with a bit of custom html/ css code from the c:strike_carouselCardComponent :

<c:strike_carouselComponent aura:id="carousel"
                                iconName="standard:carousel"
                                title="Cards"
                                showTotal="true">
        
      <aura:iteration items="{!v.data}" var="content">
          <aura:set attribute="body">
              <c:strike_carouselCardComponent
                                            
                                            id="{!content.Id}"
                                            type="{!content.Type}"
                                            duration="{!content.Duration}"
                                            title ="{!content.Name}" ></c:strike_carouselCardComponent>
                                                                    
          </aura:set>   
        </aura:iteration>
    </c:strike_carouselComponent>

But this is not working. the carousel just doesn't show with no JS error. Just as the v.data array object was empty (which is not the case) . Could you please help me?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions