theroom.js是一个JavaScript插件,可用于任何DOM元素,鼠标悬停的时候出现高亮效果。一些事件调用方式window.theRoom.on('mouseover', function (element) { // do something }); window.theRoom.on('starting', function (element) { // do something }); window.theRoom.on('started', function (element) { // do something }); window.theRoom.on('stopping', function (element) { // do something }); window.theRoom.on('stopped', function (element) { // do something }); window.theRoom.on('click', function (element) { // do something }); window.theRoom.on('hook', function (element) { // do something });
preview Points Download 6毛Download Share Download
未经允许不得转载: ICode联盟 » Plugin Special Effects » theroom.js元素悬停高亮显示