Interface: IObservableFactory()
Defined in: mobx:
See
https://mobx.js.org/README.html
Extends
Annotation.PropertyDecorator.ClassAccessorDecorator.ClassFieldDecorator
Call Signature
IObservableFactory<T>(value: T[], options?: CreateObservableOptions): IObservableArray<T>;Defined in: mobx:
Type Parameters
| Type Parameter | Default type |
|---|---|
T | any |
Parameters
| Parameter | Type |
|---|---|
value | T[] |
options? | CreateObservableOptions |
Returns
See
https://mobx.js.org/README.html
Call Signature
IObservableFactory<T>(value: Set<T>, options?: CreateObservableOptions): ObservableSet<T>;Defined in: mobx:
Type Parameters
| Type Parameter | Default type |
|---|---|
T | any |
Parameters
| Parameter | Type |
|---|---|
value | Set<T> |
options? | CreateObservableOptions |
Returns
See
https://mobx.js.org/README.html
Call Signature
IObservableFactory<K, V>(value: Map<K, V>, options?: CreateObservableOptions): ObservableMap<K, V>;Defined in: mobx:
Type Parameters
| Type Parameter | Default type |
|---|---|
K | any |
V | any |
Parameters
| Parameter | Type |
|---|---|
value | Map<K, V> |
options? | CreateObservableOptions |
Returns
ObservableMap<K, V>
See
https://mobx.js.org/README.html
Call Signature
IObservableFactory<T>(
value: T,
decorators?: AnnotationsMap<T, never>,
options?: CreateObservableOptions): T;Defined in: mobx:
Type Parameters
| Type Parameter |
|---|
T extends object |
Parameters
| Parameter | Type |
|---|---|
value | T |
decorators? | AnnotationsMap<T, never> |
options? | CreateObservableOptions |
Returns
T
See
https://mobx.js.org/README.html
Call Signature
IObservableFactory(target: Object, propertyKey: string | symbol): void;Defined in: mobx:
Parameters
| Parameter | Type |
|---|---|
target | Object |
propertyKey | string | symbol |
Returns
void
See
https://mobx.js.org/README.html
Call Signature
IObservableFactory(value: ClassAccessorDecoratorTarget<any, any>, context: ClassAccessorDecoratorContext): void | ClassAccessorDecoratorResult<any, any>;Defined in: mobx:
Parameters
| Parameter | Type |
|---|---|
value | ClassAccessorDecoratorTarget<any, any> |
context | ClassAccessorDecoratorContext |
Returns
void | ClassAccessorDecoratorResult<any, any>
See
https://mobx.js.org/README.html
Call Signature
IObservableFactory(value: any, context: ClassFieldDecoratorContext<any, any>): any;Defined in: mobx:
Parameters
| Parameter | Type |
|---|---|
value | any |
context | ClassFieldDecoratorContext<any, any> |
Returns
any
See
https://mobx.js.org/README.html
Methods
decorate_20223_()
decorate_20223_(value: any, context: DecoratorContext): any;Defined in: mobx:
Parameters
| Parameter | Type |
|---|---|
value | any |
context | DecoratorContext |
Returns
any
Inherited from
Annotation.decorate_20223_extend_()
extend_(
adm: ObservableObjectAdministration,
key: PropertyKey,
descriptor: PropertyDescriptor,
proxyTrap: boolean): boolean | null;Defined in: mobx:
Parameters
| Parameter | Type |
|---|---|
adm | ObservableObjectAdministration |
key | PropertyKey |
descriptor | PropertyDescriptor |
proxyTrap | boolean |
Returns
boolean | null
Inherited from
Annotation.extend_make_()
make_(
adm: ObservableObjectAdministration,
key: PropertyKey,
descriptor: PropertyDescriptor,
source: object): MakeResult;Defined in: mobx:
Parameters
| Parameter | Type |
|---|---|
adm | ObservableObjectAdministration |
key | PropertyKey |
descriptor | PropertyDescriptor |
source | object |
Returns
MakeResult
Inherited from
Annotation.make_Properties
annotationType_
annotationType_: string;Defined in: mobx:
Inherited from
Annotation.annotationType_array
array: <T>(initialValues?: T[], options?: CreateObservableOptions) => IObservableArray<T>;Defined in: mobx:
Type Parameters
| Type Parameter | Default type |
|---|---|
T | any |
Parameters
| Parameter | Type |
|---|---|
initialValues? | T[] |
options? | CreateObservableOptions |
Returns
box
box: IObservableValueFactory;Defined in: mobx:
deep
deep: Annotation & PropertyDecorator & ClassAccessorDecorator & ClassFieldDecorator;Defined in: mobx:
map
map: IObservableMapFactory;Defined in: mobx:
object
object: <T>(props: T, decorators?: AnnotationsMap<T, never>, options?: CreateObservableOptions) => T;Defined in: mobx:
Type Parameters
| Type Parameter | Default type |
|---|---|
T | any |
Parameters
| Parameter | Type |
|---|---|
props | T |
decorators? | AnnotationsMap<T, never> |
options? | CreateObservableOptions |
Returns
T
options_?
optional options_?: any;Defined in: mobx:
Inherited from
Annotation.options_ref
ref: Annotation & PropertyDecorator & ClassAccessorDecorator & ClassFieldDecorator;Defined in: mobx:
Decorator that creates an observable that only observes the references, but doesn't try to turn the assigned value into an observable.ts.
set
set: <T>(initialValues?: IObservableSetInitialValues<T>, options?: CreateObservableOptions) => ObservableSet<T>;Defined in: mobx:
Type Parameters
| Type Parameter | Default type |
|---|---|
T | any |
Parameters
| Parameter | Type |
|---|---|
initialValues? | IObservableSetInitialValues<T> |
options? | CreateObservableOptions |
Returns
shallow
shallow: Annotation & PropertyDecorator & ClassAccessorDecorator & ClassFieldDecorator;Defined in: mobx:
Decorator that creates an observable converts its value (objects, maps or arrays) into a shallow observable structure
struct
struct: Annotation & PropertyDecorator & ClassAccessorDecorator & ClassFieldDecorator;Defined in: mobx: