Skip to main content

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

ParameterTypeDescription
mutationsreadonly MutationRecord[]an array of MutationRecords to check and measure

Returns:

void