Skip to content

Mismatch in NodeList and ElementList for queryAll methods #4125

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
sethladd opened this issue Jul 17, 2012 · 2 comments
Closed

Mismatch in NodeList and ElementList for queryAll methods #4125

sethladd opened this issue Jul 17, 2012 · 2 comments
Labels
closed-duplicate Closed in favor of an existing report P1 A high priority bug; for example, a single project is unusable or has many test failures

Comments

@sethladd
Copy link
Contributor

Is the following intentional (and what's the reasoning, please?)...
 A: query: Element
 B: queryAll : ElementList
 C: Document.query : Element
 D: Document.queryAll : NodeList

@vsmenon
Copy link
Member

vsmenon commented Jul 17, 2012

Merging into 2712. We should not expose these types in the first place.


Added Duplicate label.
Marked as being merged into #2712.

@DartBot
Copy link

DartBot commented Jul 17, 2012

This comment was originally written by [email protected]


I have this code:

 DivElement divNavBlank = document.query('#divNavBlank');
 NodeList links = divNavBlank.queryAll('.activo'); # at this line I get the next error.

Exception: type '_FrozenElementList@33cc944a' is not a subtype of type 'NodeList' of 'links'.

Am I missing something?

On dart:html queryAll return a NodeList.

@sethladd sethladd added Type-Defect P1 A high priority bug; for example, a single project is unusable or has many test failures closed-duplicate Closed in favor of an existing report labels Jul 17, 2012
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed-duplicate Closed in favor of an existing report P1 A high priority bug; for example, a single project is unusable or has many test failures
Projects
None yet
Development

No branches or pull requests

3 participants