0.0.8 • Published 6 years ago

ae-picturetoggle v0.0.8

Weekly downloads
24
License
-
Repository
-
Last release
6 years ago

Built With Stencil

Stencil Component Test

This component toggles two images.

Using this component

Folder structure / image files needed

  • on the root folder where your index.html is create a folder named assets
  • inside this assets folder create a folder named img
  • inside this img folder place two images (name them image1.jpg and image2.jpg)

Script tag

  • Put this script tag in the head of your index.html: <script src='https://unpkg.com/ae-picturetoggle@0.0.8/dist/aepicturetoggle.js'></script>

tag to use in your index.html:

  • <ae-picturetoggle w="600" h="300" t="go!"></ae-picturetoggle>
  • w = display widh of the image / h = display height of the image / t = toggle button text
0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago