UNPKG

voluptasmollitia

Version:
25 lines (14 loc) 648 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; [getAttribute](./performance.performancetrace.getattribute.md) ## PerformanceTrace.getAttribute() method Retrieves the value which a custom attribute is set to. <b>Signature:</b> ```typescript getAttribute(attr: string): string | undefined; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | attr | string | Name of the custom attribute. | <b>Returns:</b> string \| undefined