@@ -0,0 +1,558 @@
+package com.example.client.browser;%0A%0Aimport jsinterop.annotations.JsMethod;%0Aimport jsinterop.annotations.JsOverlay;%0Aimport jsinterop.annotations.JsProperty;%0Aimport jsinterop.annotations.JsType;%0A%0A@JsType(isNative = true)%0Apublic class NodeList%3CT%3E %7B%0A%0A%09@JsProperty%0A%09public native int getLength();%0A%0A%09@JsMethod%0A%09public native T item(int index);%0A%0A%09@SuppressWarnings(%22unchecked%22)%0A%09@JsOverlay%0A%09public final T%5B%5D toArray() %7B%0A%09%09Object%5B%5D result = new Object%5BgetLength()%5D;%0A%09%09for (int i = 0; i %3C getLength(); i++) %7B%0A%09%09%09result%5Bi%5D = item(i);%0A%09%09%7D%0A%09%09return (T%5B%5D) result;%0A%09%7D%0A%0A%7D%0A

Add NodeList