@microsoft/fast-element > volatile
volatile() function
Decorator: Marks a property getter as having volatile observable dependencies.
Signature:
export declare function volatile(target: {}, name: string | Accessor, descriptor: PropertyDescriptor): PropertyDescriptor;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
target |
{} |
The target that the property is defined on. |
|
name |
string | Accessor |
The property name. |
|
descriptor |
PropertyDescriptor |
Returns:
PropertyDescriptor