unlink
Unlinks this managed object.
unlink(): this
Summary
This method marks the object as ‘stale’ or ‘deleted’, which means that the object should no longer be used by the application — even though the object’s properties can still be accessed.
- Any objects that have been attached to the unlinked object (using attach() or autoAttach()) will also be unlinked.
- If this object is attached using autoAttach() (to a ‘parent’ or containing object), the corresponding property will be set to undefined.
- If this object was attached to a containing ManagedList, the item will be removed.
Related
- class ManagedObjectThe base class of all managed objects, which can be placed into a tree structure to enable event handling and data binding.