UNPKG

voluptasmollitia

Version:
26 lines (15 loc) 686 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@firebase/performance](./performance.md) &gt; [PerformanceTrace](./performance.performancetrace.md) &gt; [putAttribute](./performance.performancetrace.putattribute.md) ## PerformanceTrace.putAttribute() method Set a custom attribute of a trace to a certain value. <b>Signature:</b> ```typescript putAttribute(attr: string, value: string): void; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | attr | string | Name of the custom attribute. | | value | string | Value of the custom attribute. | <b>Returns:</b> void