Home > @elux/model > EmptyModel
EmptyModel class
空Model常用于mock假数据
Signature:
export declare class EmptyModel implements CommonModel
Implements: CommonModel
Constructors
Constructor | Modifiers | Description |
---|---|---|
(constructor)(moduleName, store) | Constructs a new instance of the EmptyModel class |
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
moduleName | string | ||
state | ModuleState | ||
store | IStore |
Methods
Method | Modifiers | Description |
---|---|---|
_initState(state) | ||
onActive() | ||
onInactive() | ||
onMount() |