fjsc / simple-carousel Goto Github PK
View Code? Open in Web Editor NEWSimple carousel component for Polymer 1.0
Home Page: https://franjsc.github.io/simple-carousel/components/simple-carousel/
License: Apache License 2.0
Simple carousel component for Polymer 1.0
Home Page: https://franjsc.github.io/simple-carousel/components/simple-carousel/
License: Apache License 2.0
I would like to include a start/stop feature with this element. I assumed that the auto & infinite-loop properties could be used to data bind; however when setting each to 'false', my element continues the loop. Im not sure if this is a bug or if I have misread the API. Thanks
I am using this component for showing dynamic content using dom-repeat template. It might happen that the imageList is blank for a short duration initially.
<simple-carousel auto infinite-loop>
<template is="dom-repeat" items="{{imageList}}" as="imageItem">
<carousel-slide>
<img src="{{imageItem.imageURL}}">
</carousel-slide>
</template>
</simple-carousel>
As the imageList is empty, the component does not get any slide to set as 'selected' item during attached callback. And the carousel fails to show any items even after the imageList gets filled with items, as the next() function does not have valid selected item.
This case of 'no-slides-initially' should be handled. The next() function should set the selected item, if it is 'undefined'.
it would be absolutely fantastic to have iron-list like deferred loading of images for carousels with many images
Hey Francisco,
My name is Binh, Community Marketing Specialist at Vaadin. I recently tested your component and really like it. It was featured in the blog 8 best Polymer carousel components, make sure you check it out.
Also, it would be awesome to have some words from the original author under the blog comment section, or in this tweet.
Cheers!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.