UNPKG

@empathyco/x-components

Version:
25 lines (14 loc) 620 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [FacetsMutations](./x-components.facetsmutations.md) &gt; [setFacet](./x-components.facetsmutations.setfacet.md) ## FacetsMutations.setFacet() method Adds the facet to the [facets](./x-components.facetsstate.facets.md) record. **Signature:** ```typescript setFacet(facet: Facet): void; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | facet | Facet | The facet to set in the store. | **Returns:** void