smwebsdk.contentawareness.mutationcallback
Home > @soulmachines/smwebsdk > ContentAwareness > mutationCallback
ContentAwareness.mutationCallback() method
Takes an array of MutationRecords and measures the ones marked with content awareness attributes
Signature:
mutationCallback(mutations: readonly MutationRecord[]): void;
Parameters
Parameter | Type | Description |
---|---|---|
mutations | readonly MutationRecord[] | an array of MutationRecords to check and measure |
Returns:
void