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

Strike Carousel Not working with aura:iteration #225

Open
bryceckdev opened this issue Oct 15, 2018 · 0 comments
Open

Strike Carousel Not working with aura:iteration #225

bryceckdev opened this issue Oct 15, 2018 · 0 comments

Comments

@bryceckdev
Copy link

bryceckdev commented Oct 15, 2018

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!

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

1 participant