This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
Element::item
Method for manipulating item data
Syntax
$(element).items({arguments})
Routines
This method will execute different routines depending on the arguments passed.
item()
If no argument is passed, it will return the data held in item.
This only works if item and chain is active. Otherwise it will return false.
$('#element').item();
item(object)
If you pass an object to item, it will alter/extend the item data within the object.
$('#element').item({name:'Rizqi', country:'Germany'}); $('#element').item({country:'Indonesia'}); // Returns {name:'Rizqi', country:'Indonesia'} $('#element').item();
item('replace', object)
Replace item with object.
$('#element').item('replace', {name:'Solid Snake'});
item('remove')
Remove item from items.
item('root', root)
Root is the parent element, when item is part of items. if root is defined, it will set a new root.
Otherwise it returns its current root.
// Get current root
$('#element').item('root');
// Set new root
$('#element').item('root', $('#contacts'));
item('active')
Returns its status. true if active.






