You are not logged in Log in Join
You are here: Home » Members » jim » ZDOM-save » Object Value manipulation » wikipage_view

Log in



Object Value manipulation



Currently, the object manager interface allows for appending and deleting new children. The DOM API requires that children can be inserted anywhere into the list of children as well as replaced by another object.


I propose adding a _setObjectByIndex interface. This will function almost identically to the current _setObject interface. It will take an extra parameter of index, which is the index into the list of objects where the new object should be added. With the addition of this interface, both the insertBefore, and replaceChild interfaces of DOM can be supported.