Skip to content

Adapt component that reveals an image's before and after state

License

Notifications You must be signed in to change notification settings

mike-st/adapt-before-and-after

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

adapt-before-and-after

This component is used to reveal an image's before and after states of itself.


Adapt Before and After Component

Usage

Press and hold on the circular button while moving left and right to reveal the image's before and after states. This component is also accessible. When in accessible mode press tab to navigate to the circular button. Then use the right and left arrow keys to reveal parts of the image. The images have shared alt tag to describe them.

Limitations

DOES NOT WORK WITH FRAMEWORK VERSION 5. Please go to the Framework 5 version of this component on my other github site...

[github.com/zarek3333/adapt-before-and-after](https://github.com/zarek3333/adapt-before-and-after)

Use the example.json to see how the Component works.

About

Adapt component that reveals an image's before and after state

Resources

License

Stars

Watchers

Forks

Packages

No packages published