0.0.10 • Published 1 year ago

qpavy-webcomponents v0.0.10

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Using qpavy webcomponents

  • 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

q-carousel

Create a fullpage carousel with background-image, title, description and link.

Usage

<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 slide
  • carousel-title: The title of the slide
  • carousel-description: The description of the slide
  • carousel-url: The link of the slide

Example

<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>

Properties

PropertyAttributeDescriptionTypeDefault
withScrollwith-scrollbooleantrue
0.0.10

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.1

1 year ago