Properties
$$turboxProperties
$$turboxProperties: {
$$turboxProperties?: { $$turboxProperties?: ... | undefined; initDomainContext?: (() => DomainContext) | undefined; propertyGet?: ((key: string, config: ReactorConfig, hasInitializer?: boolean, defaultValue?: any) => any) | undefined; propertySet?: ((key: string, v: any, config: ReactorConfig) => void) | undefined; computedPropertyGet?:...;
$update?<K>(obj, actionName?, displayName?, forceSaveHistory?, isNeedRecord?, immediately?): void;
computedPropertyGet?<T>(key, options?, descriptor?): T;
computedPropertySet?<T>(key, original): void;
initDomainContext?(): DomainContext;
propertyGet?(key, config, hasInitializer?, defaultValue?): any;
propertySet?(key, v, config): void;
} = {}
Type declaration
Optional
$$turboxProperties?: { $$turboxProperties?: ... | undefined; initDomainContext?: (() => DomainContext) | undefined; propertyGet?: ((key: string, config: ReactorConfig, hasInitializer?: boolean, defaultValue?: any) => any) | undefined; propertySet?: ((key: string, v: any, config: ReactorConfig) => void) | undefined; computedPropertyGet?:...
$update?:function
- $update<K>(obj, actionName?, displayName?, forceSaveHistory?, isNeedRecord?, immediately?): void
Type Parameters
K extends string | number | symbol
Parameters
obj: S | Pick<S, K>
Optional
actionName: string
Optional
displayName: string
Optional
forceSaveHistory: boolean
Optional
isNeedRecord: boolean
Optional
immediately: boolean
Returns void
computedPropertyGet?:function
- computedPropertyGet<T>(key, options?, descriptor?): T
Parameters
key: string
Optional
options: ComputedOption
Optional
descriptor: PropertyDescriptor
Returns T
computedPropertySet?:function
- computedPropertySet<T>(key, original): void
Returns void
initDomainContext?:function
- initDomainContext(): DomainContext
Returns DomainContext
propertyGet?:function
- propertyGet(key, config, hasInitializer?, defaultValue?): any
Parameters
key: string
config: ReactorConfig
hasInitializer: boolean = false
Optional
defaultValue: any
Returns any
propertySet?:function
- propertySet(key, v, config): void
Parameters
key: string
v: any
config: ReactorConfig
Returns void
Private
computedProperties
computedProperties: {
$$turboxProperties?: ComputedConfig<{
$$turboxProperties?: { $$turboxProperties?: ... | undefined; initDomainContext?: (() => DomainContext) | undefined; propertyGet?: ((key: string, config: ReactorConfig, hasInitializer?: boolean, defaultValue?: any) => any) | undefined; propertySet?: ((key: string, v: any, config: ReactorConfig) => void) | undefined; computedPropertyGet?:...;
$update?<K>(obj, actionName?, displayName?, forceSaveHistory?, isNeedRecord?, immediately?): void;
computedPropertyGet?<T>(key, options?, descriptor?): T;
computedPropertySet?<T>(key, original): void;
initDomainContext?(): DomainContext;
propertyGet?(key, config, hasInitializer?, defaultValue?): any;
propertySet?(key, v, config): void;
}>;
$update?: any;
computedPropertyGet?: any;
computedPropertySet?: any;
initDomainContext?: any;
propertyGet?: any;
propertySet?: any;
} = {}
Type declaration
Optional
$$turboxProperties?: ComputedConfig<{
$$turboxProperties?: { $$turboxProperties?: ... | undefined; initDomainContext?: (() => DomainContext) | undefined; propertyGet?: ((key: string, config: ReactorConfig, hasInitializer?: boolean, defaultValue?: any) => any) | undefined; propertySet?: ((key: string, v: any, config: ReactorConfig) => void) | undefined; computedPropertyGet?:...;
$update?<K>(obj, actionName?, displayName?, forceSaveHistory?, isNeedRecord?, immediately?): void;
computedPropertyGet?<T>(key, options?, descriptor?): T;
computedPropertySet?<T>(key, original): void;
initDomainContext?(): DomainContext;
propertyGet?(key, config, hasInitializer?, defaultValue?): any;
propertySet?(key, v, config): void;
}>
Private
context
context: DomainContext
Private
Optional
currentTarget
currentTarget?: any
Private
Optional
originalArrayLength
originalArrayLength?: number
Private
reactorConfigMap
reactorConfigMap: {
$$turboxProperties?: ReactorConfig;
$update?: any;
computedPropertyGet?: any;
computedPropertySet?: any;
initDomainContext?: any;
propertyGet?: any;
propertySet?: any;
} = {}
Type declaration
Optional
$$turboxProperties?: ReactorConfig
Framework base class 'Domain', class must be extends this base class which is need to be observable.