Documentation

ObservableObject​.makeRoot()

Turns this object into a root object that cannot be attached.

static makeRoot(object: ObservableObject): void;

Notes

Errors

This method throws an error if the object is already attached to another object.

Related