没有合适的资源?快使用搜索试试~ 我知道了~
jquery easyui api PDF英文版带书签
需积分: 10 10 下载量 35 浏览量
2017-05-05
11:14:56
上传
评论
收藏 3.1MB PDF 举报
温馨提示
试读
169页
easyui的文档,取材于官网的document制作而成,为带详细书签的pdf。英文版。
资源推荐
资源详情
资源评论
基础
作者 : chenyuchao 2017.5.2
Parser
Usage
1. $.parser.parse(); // parse all the page
2. $.parser.parse('#cc'); // parse the specified node
Properties
Name
Type
Description
Default
$.parser.auto
boolean
Defines if to auto parse the easyui component.
true
Events
Name
Parameters
Description
$.parser.onComplete
context
Fires when parser finishing its parse action.
Methods
Name
Parameter
Description
$.parser.parse
context
Parse the easyui component.
EasyLoader
Usage
Load EasyUI module
1. <script>
2. easyloader.base = '../'; // set the easyui base directory
3. $(function(){
4. easyloader.load('messager', function(){ // load the specified module
5. $.messager.alert('Title', 'load ok');
6. });
7. });
8. </script>
Load script from an absolute url
1. using('http://code.jquery.com/jquery-1.4.4.min.js', function(){
2. // ...
3. });
Load script from relative url
1. // the script path relative to easyui directory
2. using('./myscript.js', function(){
3. // ...
4. });
Properties
Name
Type
Description
Default
modules
object
Predefined modules.
locales
object
Predefined locales.
base
string
The easyui base directory, must end with '/'.
The base directory will be auto setted relative to
easyload.js
theme
string
The name of theme that defined in 'themes'
directory
default
css
boolean
Defines if loading css file when loading module
true
locale
string
The locale name
null
timeout
number
Timeout value in milliseconds. Fires if a timeout
occurs.
2000
Defined locales
af
bg
ca
cs
cz
da
de
en
es
fr
nl
tr
zh_CN
zh_TW
Events
Name
Parameters
Description
onProgress
name
Fires when a module is loaded successfully.
onLoad
name
Fires when a module and it's dependencies are loaded successfully.
Methods
Name
Parameter
Description
load
module, callback
Load the specified module. When load success a callback function will be called.
The module parameter valid type are:
a single module name
an module array
a css file that end with '.css'
a js file that end with '.js'
Draggable
Override defaults with $.fn.draggable.defaults.
Usage Example
Create a draggable element from markup.
1. <div id="dd" class="easyui-draggable" data-options="handle:'#title'"
style="width:100px;height:100px;">
2. <div id="title" style="background:#ccc;">title</div>
3. </div>
Create a draggable element using javascript.
1. <div id="dd" style="width:100px;height:100px;">
2. <div id="title" style="background:#ccc;">title</div>
3. </div>
1. $('#dd').draggable({
2. handle:'#title'
3. });
Properties
Name
Type
Description
Default
proxy
string,function
A proxy element to be used when dragging, when set to 'clone', a clone element is used
as proxy. If a function is specified, it must return a jQuery object.
The example below shows how to create a simple proxy object.
$('.dragitem').draggable({
proxy: function(source){
var p = $('<div style="border:1px solid
#ccc;width:80px"></div>');
p.html($(source).html()).appendTo('body');
return p;
}
});
null
revert
boolean
If set to true, the element will return to its start position when dragging stops.
false
cursor
string
The css cursor when dragging.
move
deltaX
number
The dragged element position x corresponding to current cursor
null
deltaY
number
The dragged element position y corresponding to current cursor
null
handle
selector
The handle that start the draggable.
null
disabled
boolean
True to stop draggable.
false
edge
number
The drag width in which can start draggable.
0
axis
string
Defines the axis which the dragged elements moves on, available value is 'v' or 'h', when
set to null will move across 'v' and 'h' direction.
null
delay
number
Defines the delay time in milliseconds to start a drag operation.
100
Events
Name
Parameters
Description
onBeforeDrag
e
Fires before dragging, return false to cancel this dragging.
onStartDrag
e
Fires when the target object start dragging.
onDrag
e
Fires during dragging. Return false will not do dragging actually.
onStopDrag
e
Fires when the dragging stops.
Methods
Name
Parameter
Description
options
none
Return the options property.
proxy
none
Return the drag proxy if the proxy property is setted.
enable
none
Enable the drag action.
disable
none
Disable the drag action.
剩余168页未读,继续阅读
资源评论
jiangsucsdn001
- 粉丝: 47
- 资源: 231
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- html动态爱心代码一(附源码)
- c40539bc-071a-486c-9d52-9d0c18d62dac 4.html
- 基于物理的非视域成像(NLOS)算法,利用了nerf+python源码+文档说明
- yuluer知更鸟.7z(1).001
- 基于Qt实现医院信息管理系统c++源码+文档说明+数据库(期末大作业)
- 基于python实现的医院信息管理系统完整源码+sql数据库+详细注释(高分课程设计)
- 基于python的眼底图像视杯视盘分割项目源码+文档说明+截图演示+详细注释(高分课程设计)
- ImageBasedModellingEdu-贰壹贰叁零
- DFFmeasurement-数据预处理
- ImageBasedModellingEdu-回文素数c语言
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功