0 votes
9 views
in Coach Views by (12.1k points)

1 Answer

0 votes
by (12.1k 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 46 views
0 votes
0 answers 3 views
0 votes
1 answer 14 views
0 votes
1 answer 84 views
0 votes
1 answer 88 views
–1 vote
0 answers 45 views
+1 vote
2 answers 213 views
asked Dec 1, 2018 in BPD by anonymous
–1 vote
1 answer 178 views
0 votes
2 answers 330 views
asked Aug 31, 2018 in BPD by anonymous
+1 vote
6 answers 1k views
asked Jun 11, 2018 in BPD by anonymous
0 votes
1 answer 173 views
0 votes
0 answers 87 views
0 votes
1 answer 689 views
0 votes
0 answers 54 views
...