0 votes
20 views
in Coach Views by (13.5k points)

1 Answer

0 votes
by (13.5k 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 63 views
0 votes
0 answers 16 views
0 votes
1 answer 23 views
0 votes
1 answer 95 views
0 votes
1 answer 41 views
0 votes
1 answer 113 views
–1 vote
0 answers 64 views
+1 vote
2 answers 259 views
asked Dec 1, 2018 in BPD by anonymous
–1 vote
1 answer 196 views
0 votes
2 answers 374 views
asked Aug 31, 2018 in BPD by anonymous
+1 vote
6 answers 1.2k views
asked Jun 11, 2018 in BPD by anonymous
0 votes
1 answer 219 views
0 votes
0 answers 90 views
0 votes
1 answer 783 views
0 votes
0 answers 70 views
...