Observable Arrays

Collection that allow to detect and respond to changes in it.

Creating observable array

var users = observableArray( [ 'misha', 'bob' ] );

Description

Editable array is an [editable value] that provides methods analogous to Array for convenient array manipulations. They are different from their Array analogs in that upon completion of operation they notify all observers of array that its value has changed.

Methods

Method Description
pop See Array.pop
push See Array.push
reverse See Array.reverse
shift See Array.shift
sort See Array.sort
splice See Array.splice
unshift See Array.unshift
slice See Array.slice
remove  
removeAll
destroy
destroyAll
indexOf See Array.indexOf
replace  

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.