Skip to main content

@microsoft/fast-element > Accessor > setValue

Accessor.setValue() method

Sets the value of the property on the source object.

Signature:
setValue(source: any, value: any): void;

Parameters

ParameterTypeDescription
sourceanyThe source object to access.
valueanyThe value to set the property to.
Returns:

void