cosmoz-image-viewer is an element for displaying images in a carousel while being able to detach the currently selected image into another window, zooming and activating a fullscreen mode.
<cosmoz-image-viewer>
Example:
<cosmoz-image-viewer show-nav show-fullscreen show-zoom show-detach
images='["demo/images/stockholm.jpg", "demo/images/strasbourg.jpg"]'>
</cosmoz-image-viewer>
First, make sure you have the Polymer CLI installed. Then run polymer serve
to serve your element locally.
$ polymer serve
$ polymer test
Your application is already set up to be tested via web-component-tester. Run polymer test
to run your application's test suite locally.