Skip to content

Commit 50533d1

Browse files
authored
Update serializeAttributes documentation to cover multiple attributes. (#3825)
1 parent bc974b6 commit 50533d1

File tree

1 file changed

+2
-2
lines changed
  • src/platforms/javascript/common/configuration/integrations

1 file changed

+2
-2
lines changed

src/platforms/javascript/common/configuration/integrations/default.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@ Available options:
5353

5454
// Log all click and keypress events
5555
// - When an object with `serializeAttribute` key is provided,
56-
// Breadcrumbs integration will look for that attribute in DOM elements,
56+
// Breadcrumbs integration will look for given attribute(s) in DOM elements,
5757
// while generating the breadcrumb trails.
5858
// Matched elements will be followed by their custom attributes,
5959
// instead of their `id`s or `class` names.
60-
dom: boolean | { serializeAttribute: string };
60+
dom: boolean | { serializeAttribute: string | string[] };
6161

6262
// Log HTTP requests done with the Fetch API
6363
fetch: boolean;

0 commit comments

Comments
 (0)