Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3cde777

Browse files
btfordIgorMinar
authored andcommitted
docs(minErr): add minErr description for jqLite:nosel
Closes angular#3426
1 parent def7e96 commit 3cde777

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/content/error/jqLite/nosel.ngdoc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,10 @@
22
@name jqLite:nosel
33
@fullName Unsupported Selector Lookup
44
@description
5+
6+
In order to keep Angular small, Angular implements only a subset of the selectors in {@link api/angular.element#angularsjqlite jqLite}.
7+
This error occurs when a jqLite instance is invoked with a selector other than this subset.
8+
9+
In order to resolve this error, rewrite your code to only use tag name selectors and manually traverse the DOM using the APIs provided by jqLite.
10+
11+
Alternatively, you can include a full version of jQuery, which Angular will automatically use and that will make all selectors available.

0 commit comments

Comments
 (0)