Skip to content

Commit 67a5134

Browse files
author
Jill Grant
authored
Update javascript-feature-extensions.md
Acrolinx fixes
1 parent 062a18c commit 67a5134

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/azure-monitor/app/javascript-feature-extensions.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -490,11 +490,11 @@ export const clickPluginConfigWithUseDefaultContentNameOrId = {
490490
</div>
491491
```
492492

493-
For clicked element `<Button>` the value of `parentId` is `“not_specified”`, because no `parentDataTag` details are defined and no parent element id is provided within the current element.
493+
For clicked element `<Button>` the value of `parentId` is `“not_specified”`, because no `parentDataTag` details are defined and no parent element ID is provided within the current element.
494494

495495
### Example 2
496496

497-
In example 2, `parentDataTag` is declared and `data-parentid` is defined. This example shows how parent id details are collected.
497+
In example 2, `parentDataTag` is declared and `data-parentid` is defined. This example shows how parent ID details are collected.
498498

499499
```javascript
500500
export const clickPluginConfigWithParentDataTag = {
@@ -515,7 +515,7 @@ export const clickPluginConfigWithParentDataTag = {
515515
</div>
516516
```
517517

518-
For clicked element `<Button>`, the value of `parentId` is `parentid2`. Even though `parentDataTag` is declared, the `data-parentid` is directly defined within the element. Therefore, this value takes precedence over all other parent ids or id details defined in its parent elements.
518+
For clicked element `<Button>`, the value of `parentId` is `parentid2`. Even though `parentDataTag` is declared, the `data-parentid` is directly defined within the element. Therefore, this value takes precedence over all other parent IDs or ID details defined in its parent elements.
519519

520520
### Example 3
521521

@@ -542,7 +542,7 @@ export const clickPluginConfigWithParentDataTag = {
542542
</div>
543543
```
544544

545-
For clicked element `<Button>`, the value of `parentId` is `test6parent`, because `parentDataTag` is declared. This declaration allows the plugin to traverse the current element tree and therefore the id of its closest parent will be used when parent id details aren't directly provided within the current element. With the `data-group="buttongroup1"` defined, the plug-in finds the `parentId` more efficiently.
545+
For clicked element `<Button>`, the value of `parentId` is `test6parent`, because `parentDataTag` is declared. This declaration allows the plugin to traverse the current element tree and therefore the ID of its closest parent will be used when parent ID details aren't directly provided within the current element. With the `data-group="buttongroup1"` defined, the plug-in finds the `parentId` more efficiently.
546546

547547
If you remove the `data-group="buttongroup1"` attribute, the value of `parentId` is still `test6parent`, because `parentDataTag` is still declared.
548548

0 commit comments

Comments
 (0)