$$turboxProperties
$$turboxProperties: {
$$turboxProperties?: { $$turboxProperties?: ... | undefined; initDomainContext?: (() => DomainContext) | undefined; propertyGet?: ((key: string, config: ReactorConfig, hasInitializer?: boolean | undefined, defaultValue?: any) => any) | undefined; propertySet?: ((key: string, v: any, config: ReactorConfig) => void) | undefined; computedP...;
$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 | undefined, defaultValue?: any) => any) | undefined; propertySet?: ((key: string, v: any, config: ReactorConfig) => void) | undefined; computedP...
$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
Optional hasInitializer: boolean
Optional defaultValue: any
Returns any
propertySet?:function
- propertySet(key, v, config): void
Parameters
key: string
v: any
config: ReactorConfig
Returns void
Framework base class 'Domain', class must be extends this base class which is need to be observable.