forkit.js

an animated GitHub ribbon

Github星跟蹤圖

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) 2017 Hakim El Hattab, http://hakim.se

主要指標

概覽
名稱與所有者hakimel/forkit.js
主編程語言JavaScript
編程語言CSS (語言數: 3)
平台
許可證MIT License
所有者活动
創建於2012-07-19 05:40:15
推送於2022-11-25 21:41:11
最后一次提交2017-11-29 10:31:10
發布數0
用户参与
星數851
關注者數48
派生數192
提交數28
已啟用問題?
問題數9
打開的問題數3
拉請求數1
打開的拉請求數4
關閉的拉請求數3
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?