- Put this script tag :
<script type='module' src='https://unpkg.com/qpavy-webcomponents@<LAST_VERSION>/dist/webcomponents/webcomponents.esm.js'></script>
in the head of your index.html - Then you can use the element anywhere in your template, JSX, html etc
Create a fullpage carousel with background-image, title, description and link.
<q-carousel></q-carousel>
works with <li>
elements. each <li>
defining a slide that should have those attributes to works :
carousel-image-url
: the backround image url of the slidecarousel-title
: The title of the slidecarousel-description
: The description of the slidecarousel-url
: The link of the slide
<q-carousel>
<li carousel-image-url="image.jpg" carousel-title="title" carousel-description="description" carousel-url="http://url"></li>
<li carousel-image-url="image2.jpg" carousel-title="title2" carousel-description="description2" carousel-url="http://url2"></li>
<li carousel-image-url="image3.jpg" carousel-title="title3" carousel-description="description3" carousel-url="http://url3"></li>
<li carousel-image-url="image4.jpg" carousel-title="title4" carousel-description="description4" carousel-url="http://url4"></li>
</q-carousel>
Property | Attribute | Description | Type | Default |
---|---|---|---|---|
withScroll |
with-scroll |
boolean |
true |