网站大量收购独家精品文档,联系QQ:2885784924

dhtmlxCore学习笔记.docx

  1. 1、本文档共9页,可阅读全部内容。
  2. 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
dhtmlxCore学习笔记

dthmlxCore学习笔记common helpers事件添加事件dhtmlx.event=function(node,event,handler,master){}添加后的事件会保存到dhtmlx._events数组中,以id做索引删除事件dhtmlx.eventRemove=function(id){}debuggerhelpersdhtmlx.log = function(type,message,details){}type:Info,error//event system dhtmlx.EventSystem={//assign handler for some named eventattachEvent:function(type,functor,id){}//remove event handlerdetachEvent:function(id){}}array helperdhtmlx.PowerArray={removeAt:function(pos,len){};//find element in collection and remove it remove:function(value){}//return index of element, -1 if it doesnt existsfind:function(data){}//execute some method for each element of arrayeach:function(functor,master){for (var i=0; i this.length; i++)functor.call((master||this),this[i]);}//create new array from source, by using results of functor map:function(functor,master){}}environment detectiondhtmlx.env = {};dhtmlx._isOpera=true;dhtmlx._isIE=!!document.all;dhtmlx._isFF=!document.all;dhtmlx._isIE=8;dhtmlx._isIE=9;boolean dhtmlx.env.transform 转变boolean dhtmlx.env.transition转换options.transform = [transform, WebkitTransform, MozTransform, oTransform,msTransform];options.transition = [transition, WebkitTransition, MozTransition, oTransition];dhtmlx.env.transform_prefix = (function(){var prefix;if(dhtmlx._isOpera)prefix = -o-;else {prefix = ; // default optionif(dhtmlx._isFF) prefix = -moz-;if(dhtmlx._isWebKit) prefix = -webkit-;}return prefix;})();html helpersdhtmlx.html={create:function(name,attrs,html){}name:元素类型,attrs:参数对象,html:父对象//return node value, different logic for different html elementsgetValue:function(node){}//remove html node, can process an array of nodes at onceremove:function(node){}//insert new node before sibling, or at the end if sibling doesnt existinsertBefore: function(node,before,rescue){}//returns position of html element on the pageoffset:function(elem) {}//returns position of eventpos:function(ev){}/prevent event actionpreventEvent:function(e){}//add css class to the nodeaddCss:function(node,name){

文档评论(0)

xcs88858 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

版权声明书
用户编号:8130065136000003

1亿VIP精品文档

相关文档