Skip to content

Juli-Brylina/forkit.js

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

forkit.js

An experimental animated ribbon which reveals a curtain of additional content.

Curious about how this looks in action? Check out the demo page.

Events

Open/close events are dispatched from the main .forkit element:

document.querySelector( '.forkit' ).addEventListener( 'forkit-open', function() {
  // fired when the curtain is pulled down
} );

document.querySelector( '.forkit' ).addEventListener( 'forkit-close', function() {
  // fired when the curtain retracts
} );

License

MIT licensed

Copyright (C) 2012 Hakim El Hattab, http://hakim.se

About

an animated GitHub ribbon

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published