Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
NotificationsYou must be signed in to change notification settings

KEMOSAB-E/MiNiMiNiQuery

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

参考了一些类jquery库,整合了一些自己的东西。通过这个小工程可以大致了解jquery内部机制,模块分的很清楚,可以直接阅读源码。如果你喜欢,就给个star吧:bowtie:

模块介绍

ajax模块

 * 支持getpost提交

  • 几个参数
MQ.ajax({url:地址。默认是'/',type:提交方法。默认是'get',dataType:数据类型。text或者json。默认是json,data:发送的数据,success:成功回调,error:错误回调,complete:完成回调})

animate模块

 * 进行基本的动画,内部使用tween.js(参考张鑫旭),进行动画

  • 支持:
    linear,easeIn,easeOut,easeBoth,easeInStrong,easeOutStrong,easeBothStrong,elasticIn,elasticOutelasticBoth,backIn,backOut,backBoth,bounceIn,bounceOut,bounceBoth这几种动画形式。 
  • 几个参数
MQ("获取元素").animate({json对象,表示要运动的属性},options)    options:{     fx:运动形式,上面动画形式的某一种,默认linear     duration:期望运动的事件,毫秒单位,默认1000--1s,callback:运动结束的回调函数}

其他模块建议大家直接阅读源码,了解内部机制

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript100.0%

[8]ページ先頭

©2009-2025 Movatter.jp