0 votes
709 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 1.1k views
+1 vote
0 answers 1.9k views
0 votes
0 answers 696 views
0 votes
0 answers 820 views
0 votes
1 answer 543 views
0 votes
1 answer 942 views
0 votes
2 answers 2.3k views
–1 vote
0 answers 916 views
+1 vote
2 answers 1.9k views
asked Dec 1, 2018 in BPD by anonymous
–1 vote
1 answer 809 views
0 votes
2 answers 1.7k views
asked Aug 31, 2018 in BPD by anonymous
+1 vote
8 answers 6.8k views
asked Jun 11, 2018 in BPD by anonymous
0 votes
1 answer 2.1k views

635 questions

495 answers

98 comments

3.0k 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
...