mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-07-31 20:11:55 +00:00
Initial support for Document, EventTarget, NodeList and Iterator (#541)
* Adding document and node support * Initial support for Document, EventTarget, NodeList and Iterator * Add in support for output option type
This commit is contained in:
committed by
Alex Crichton
parent
15d0fcfcf4
commit
4b4bed5ce2
@@ -29,8 +29,10 @@ interface Element : Node {
|
||||
attribute DOMString id;
|
||||
[CEReactions, Pure]
|
||||
attribute DOMString className;
|
||||
/*TODO
|
||||
[Constant, PutForwards=value]
|
||||
readonly attribute DOMTokenList classList;
|
||||
*/
|
||||
|
||||
[SameObject]
|
||||
readonly attribute NamedNodeMap attributes;
|
||||
@@ -248,10 +250,8 @@ partial interface Element {
|
||||
partial interface Element {
|
||||
[Throws, Pure]
|
||||
Element? querySelector(DOMString selectors);
|
||||
/*TODO
|
||||
[Throws, Pure]
|
||||
NodeList querySelectorAll(DOMString selectors);
|
||||
*/
|
||||
};
|
||||
|
||||
// https://dom.spec.whatwg.org/#dictdef-shadowrootinit
|
||||
|
Reference in New Issue
Block a user