<kbd id="afajh"><form id="afajh"></form></kbd>
<strong id="afajh"><dl id="afajh"></dl></strong>
    <del id="afajh"><form id="afajh"></form></del>
        1. <th id="afajh"><progress id="afajh"></progress></th>
          <b id="afajh"><abbr id="afajh"></abbr></b>
          <th id="afajh"><progress id="afajh"></progress></th>

          KUTE.js原生 Javascript 動畫引擎

          聯(lián)合創(chuàng)作 · 2023-09-22 04:12

          KUTE.js 是一個原生的 Javascript 動畫引擎,具有優(yōu)秀的性能和模塊化的代碼。 它提供了一大堆工具,以幫助你創(chuàng)建自定義動畫。

          KUTE.js 為 Web 開發(fā)人員、設(shè)計師和動畫師提供最基本的功能,提供易于使用的方法來設(shè)置高性能、跨瀏覽器的動畫。 

          Demo 請查看此處。

          基礎(chǔ)用法

          //vanilla js
          KUTE.fromTo('selector', fromValues, toValues, options).start();
          
          //with jQuery plugin
          $('selector').fromTo(fromValues, toValues, options).start();

          高級用法

          //vanilla js is always the coolest
          KUTE.fromTo(el,
              { translate: 0, opacity: 1 }, // fromValues
              { translate: 150, opacity: 0 }, // toValues
          
              // tween options object
              { duration: 500, delay: 0, easing   : 'exponentialInOut', // basic options
          
                // callbacks
                start: functionOne, // run function when tween starts
                complete: functionTwo, // run function when tween animation is finished
                update: functionFour // run function while tween running    
                stop: functionFive // run function when tween stopped    
                pause: functionSix // run function when tween paused    
                resume: functionSeven // run function when resuming tween    
              }
          ).start(); // this is to start animation right away
          瀏覽 19
          點贊
          評論
          收藏
          分享

          手機掃一掃分享

          編輯 分享
          舉報
          評論
          圖片
          表情
          推薦
          點贊
          評論
          收藏
          分享

          手機掃一掃分享

          編輯 分享
          舉報
          <kbd id="afajh"><form id="afajh"></form></kbd>
          <strong id="afajh"><dl id="afajh"></dl></strong>
            <del id="afajh"><form id="afajh"></form></del>
                1. <th id="afajh"><progress id="afajh"></progress></th>
                  <b id="afajh"><abbr id="afajh"></abbr></b>
                  <th id="afajh"><progress id="afajh"></progress></th>
                  AA毛片 | 日本一区二区三区在线观看视频 | 国产女人18毛片水真多成人如厕 | 男女趴趴网站 | 亚洲无码蜜桃视频 |