0 votes
542 views
in Coach Views by (16.3k points)

1 Answer

0 votes
by (16.3k points)
document.querySelectorAll() will get you all matching elements in the entire document whereas this.context.element.querySelector() or this.context.element.getElementsByClassName() will limit your search to the elements defined or created inside the current coach view. This is useful to create custom controls which will not affect other instances of the control.

Related questions

0 votes
1 answer 900 views
+1 vote
0 answers 1.5k views
0 votes
0 answers 627 views
0 votes
0 answers 698 views
0 votes
1 answer 445 views
0 votes
1 answer 826 views
0 votes
2 answers 1.9k views
–1 vote
0 answers 801 views
+1 vote
2 answers 1.7k views
asked Dec 1, 2018 in BPD by anonymous
–1 vote
1 answer 692 views
0 votes
2 answers 1.4k views
asked Aug 31, 2018 in BPD by anonymous
+1 vote
8 answers 6.0k views
asked Jun 11, 2018 in BPD by anonymous
0 votes
1 answer 1.7k views

634 questions

495 answers

97 comments

2.7k users

Join BPM Community Discord Channel

Welcome to BPM Tips Q&A, Community wiki/forum where you can ask questions and receive answers from other IBM BPM experts and members of the community. Users with 2000 points will automatically be promoted to expert level.
Created by Dosvak LLC
Our Youtube Channel
...