Skip to main content

Function: onPropertyReading()

onPropertyReading(model, callback)

onPropertyReading<D, I, V, K>(model, callback): () => void

Type parameters

D extends object

I extends ModelInstance<D>

V extends ModelValues<D>

K extends string | number | symbol

Parameters

model: Model<D, I>

callback

Returns

Function

Returns

void

Source

packages/core/src/model/hooks/properties/onPropertyReading.ts:3

onPropertyReading(model, key, callback)

onPropertyReading<D, I, V, K>(model, key, callback): () => void

Type parameters

D extends object

I extends ModelInstance<D>

V extends ModelValues<D>

K extends string | number | symbol

Parameters

model: Model<D, I>

key: K

callback

Returns

Function

Returns

void

Source

packages/core/src/model/hooks/properties/onPropertyReading.ts:3

onPropertyReading(model, callback)

onPropertyReading<D, V, K>(model, callback): () => void

Type parameters

D extends object

V extends ModelValues<D>

K extends string | number | symbol

Parameters

model: ModelComposable<D>

callback

Returns

Function

Returns

void

Source

packages/core/src/model/hooks/properties/onPropertyReading.ts:3

onPropertyReading(model, key, callback)

onPropertyReading<D, V, K>(model, key, callback): () => void

Type parameters

D extends object

V extends ModelValues<D>

K extends string | number | symbol

Parameters

model: ModelComposable<D>

key: K

callback

Returns

Function

Returns

void

Source

packages/core/src/model/hooks/properties/onPropertyReading.ts:3

onPropertyReading(model, callback)

onPropertyReading<D, V, K>(model, callback): () => void

Type parameters

D extends object

V extends ModelValues<D>

K extends string | number | symbol

Parameters

model: ModelFactory<D>

callback

Returns

Function

Returns

void

Source

packages/core/src/model/hooks/properties/onPropertyReading.ts:3

onPropertyReading(model, key, callback)

onPropertyReading<D, V, K>(model, key, callback): () => void

Type parameters

D extends object

V extends ModelValues<D>

K extends string | number | symbol

Parameters

model: ModelFactory<D>

key: K

callback

Returns

Function

Returns

void

Source

packages/core/src/model/hooks/properties/onPropertyReading.ts:3