Methods
(static) from(obj) → {Fragment}
Attempt to make a fragment from an existing object.
Parameters:
| Name | Type | Description |
|---|---|---|
obj |
Object | The object to use. |
Returns:
The resulting fragment.
- Type
- Fragment
A class that behaves similar to a tree and similar to a branch. It can be added to a tree like a branch.
Attempt to make a fragment from an existing object.
| Name | Type | Description |
|---|---|---|
obj |
Object | The object to use. |
The resulting fragment.