UNPKG

@empathyco/x-components

Version:
25 lines (14 loc) 694 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [TaggingMutations](./x-components.taggingmutations.md) &gt; [setConsent](./x-components.taggingmutations.setconsent.md) ## TaggingMutations.setConsent() method Sets the [TaggingState.consent](./x-components.taggingstate.consent.md) property. **Signature:** ```typescript setConsent(consent: boolean): void; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | consent | boolean | The new [TaggingState.consent](./x-components.taggingstate.consent.md)<!-- -->. | **Returns:** void