js2uix v1.0.15
js2uix
js2uix is a Javascript Module that combines Dom Control function and Component production function. Simple implementation of the existing Dom Control function, and additional component production is possible.
js2uix (js2uix-dom-control)
1. Features
1. js2uix('selector'): default selector
js2uix(param): The value of the parameter is'string','object','function'
2. js2uix('selector).method().method() : Method chaining
js2uix selector basically uses built-in functions through method chaining.
3. js2uix.Component(): Create a component object
Independent component object can be created through the js2uix module.
Component objects for each function can be created/managed, and screens can be rendered by combining each object.
2. Function (Dom Control)
addClass: Set the class name of the selected Dom.
addEvent: Set event on selected Dom
addId: Set id name of selected Dom.
after: Insert Dom after selected Dom.
ajaxForm: ajax communication using Dom of selected form type.
animate: Dynamic processing effect using the selected Dom.
append: Insert Dom at the end of the selected Dom.
before: Insert Dom before the selected Dom.
children: Check the child Dom in the selected Dom.
clone: Copy selected Dom.
createDom: Create new Dom.
css: Set style of selected Dom
empty: Delete all child elements of the selected Dom.
extend: merge/inherit objects
fadeIn: Flashing of selected Dom.
fadeOut: Flashing of selected Dom.
find: Find a specific Dom within the selected Dom
firstNode: Select the first Dom from the selected Dom
getAttr: Check the attribute of the selected Dom
hasChild: Check if the selected Dom has a specific child
hasClass: Check if the selected Dom has a specific class name
hasId: Check if the selected Dom has a specific id name
hasParents: Identify parents with a specific name among the parents of the selected Dom
height: Set and check the height value of the selected Dom
hide: Display property of selected Dom none
html: Set and return child elements of the selected Dom
index: Check the index information of the selected Dom
lastINode: Select the last Dom among the selected Dom
left: Set and check the left value of the selected Dom
loaded: executed after all html is loaded
loop: Apply the loop of the selected Dom or specific object
nextNode: Next selection of the selected Dom
not: not select of selected Dom
Offset: Check the offset of the selected Dom
parent: Check the parent directly above the selected Dom
parents: Confirm a specific parent among selected Dom parents
prepend: Insert Dom at the beginning of the selected Dom
prevNode: Previous selection of the selected Dom
remove: Delete selected Dom
removeAttr: Delete the specific attribute value of the selected Dom
removeClass: Delete specific class value of selected Dom
removeEvent: Remove selected Dom event
removeId: Delete the specific id value of the selected Dom
replace: Replace the selected Dom with a specific Dom or a generated Dom
setAttr: Set attribute of selected Dom.
show: display property block of the selected Dom
siblingNodes: Check for adjacent sibling elements except for the selected Dom
text: Set and check the text of the selected Dom
top: Set and check the top of the selected Dom
value: Set and check the value of Dom of the selected form
width: Set and check the width of the selected Dom