LeoJs Demo
es6 jqlite 现代浏览器 dom操作;
$('selector').prop('propertyName ') => leoDom.$prop('leoDomSelector', 'propertyName');
$(selector, context) => leoDom.$({selector: 'leoDomSelector', context: 'leoDomSelector'});
##function;
util: noop, error, inArray, isNumeric, isEmptyObject, isFunction, generateId, isPlainObject, type, niq, isArray, extend, camelCase, nodeName, globalEval, isWindow, isNode, isNodeList, isXMLDoc, trim, makeArray, merge, each;
core: $id, $tag, $class, $qs, $qsa,
traversing: $parent, $parents, $parentsUntil, $next, $prev, $nextAll, $prevAll, $nextUntil, $prevUntil, $siblings, $children, $contents;
manipulation: $remove, $empty, $text, $clone, $append, $prepend, $before, $after, $replaceWith, $html;
attr: $prop, $removeProp, $attr, $removeAttr, $addClass, $removeClass, $toggleClass, $hasClass, $val;
css: $css, $height, $width, $outerHeight, $outerWdith, $innerHeight, $innerWidth;
data: $data, $removeData, $queue, $dequeue, $clearQueue;
offset: $offsetParent, $position, $offset;
animate: $transition;
event: $on, $off, $one, $trigger, $triggerHandler;
uiPosition: uiPosition(leoDomSelector, { my: ("center"), at: ("center"), of(leoDomSelector), collision:('flip'), using: (fun), within: (leoDomSelector) })[相对另一个元素定位一个元素]
MIT Licensed. Copyright (c) leoHuiyi 2015.