javascript - Using $document.querySelectorAll in angularjs -
as $document wrapper angular.element(window.document), ideally $document.queryselectorall() should work, getting error saying not function. can explain?
you should able use...
document.queryselectorall(..) omit $ because don't need jquery lite since you're using dom api. otherwise use jquery lite method... this link seems pertinent.
Comments
Post a Comment