You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The filtering could be done inside children, something like this:
functionchildren(){varmine=[];for(vari=0;i<this.children.length;i++){if(this.children[i].tagName===tagName){// Could check class toovarinstance=instanceLocal.get(this.children[i]);if(instance&&instance.owner===component){mine.push(this)}}}returnmine;}
The text was updated successfully, but these errors were encountered:
I feel like this could be improved in terms of efficiency.
The filtering could be done inside
children
, something like this:The text was updated successfully, but these errors were encountered: