new Cell(attributes, optionsopt)
- Source:
- Mixes In:
- See:
An non-persistable object that can listen to and emit events like a models.
Parameters:
Name | Type | Attributes | Default | Description | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
attributes |
Object | the initial attributes to use for this cell. |
||||||||||||
options |
Object |
<optional> |
{}
|
the options for setting up this cell. Properties
|
Extends
Members
isModelCompatible
- Source:
- Mixes In:
- Default Value:
- false
Properties:
Name | Type | Description |
---|---|---|
isModelCompatible |
boolean |
Whether a cell can pass as a model or not.
If true, the cell will not fail is persisted functions are invoked
If false, the cell will throw exceptions if persisted function are invoked
Methods
fetch()
- Source:
- Mixes In:
Override and disable the fetch function
save()
- Source:
- Mixes In:
Override and disable the save function
sync()
- Source:
- Mixes In:
Override and disable the sync function
url()
- Source:
- Mixes In:
Override and disable the url