Set.push()⚓➭
Adds each argument to the current set
Returns: object original element
Adds each argument to the current set
Returns: object original element
Removes last element and returns it
Returns: object element
Executes given function for each element in the set
If the function returns false
, the loop stops running.
Returns: object Set object
Animates each element in set in sync.
or
[attrs, duration, easing, callback]
// animate all elements in set to radius 10
set.animate({r: 10}, 500, mina.easein);
// or
// animate first element to radius 10, but second to radius 20 and in different time
set.animate([{r: 10}, 500, mina.easein], [{r: 20}, 1500, mina.easein]);
Returns: Element the current element
Specifies how to handle a specific attribute when applied to a set.
or
or
Returns: object Set object
Removes all elements from the set
Removes range of elements from the set
Returns: object set elements that were deleted
Removes given element from the set
Returns:
boolean
true
if object was found and removed from the set