OLD | NEW |
1 library html; | 1 library html; |
2 | 2 |
3 import 'dart:async'; | 3 import 'dart:async'; |
4 import 'dart:collection'; | 4 import 'dart:collection'; |
5 import 'dart:html_common'; | 5 import 'dart:html_common'; |
6 import 'dart:indexed_db'; | 6 import 'dart:indexed_db'; |
7 import 'dart:isolate'; | 7 import 'dart:isolate'; |
8 import 'dart:json' as json; | 8 import 'dart:json' as json; |
9 import 'dart:math'; | 9 import 'dart:math'; |
10 import 'dart:svg' as svg; | 10 import 'dart:svg' as svg; |
(...skipping 21079 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
21090 | 21090 |
21091 /// @domName WebSocket.dispatchEvent; @docsEditable true | 21091 /// @domName WebSocket.dispatchEvent; @docsEditable true |
21092 @JSName('dispatchEvent') | 21092 @JSName('dispatchEvent') |
21093 bool $dom_dispatchEvent(Event evt) native; | 21093 bool $dom_dispatchEvent(Event evt) native; |
21094 | 21094 |
21095 /// @domName WebSocket.removeEventListener; @docsEditable true | 21095 /// @domName WebSocket.removeEventListener; @docsEditable true |
21096 @JSName('removeEventListener') | 21096 @JSName('removeEventListener') |
21097 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native; | 21097 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native; |
21098 | 21098 |
21099 /// @domName WebSocket.send; @docsEditable true | 21099 /// @domName WebSocket.send; @docsEditable true |
21100 bool send(data) native; | 21100 void send(data) native; |
21101 } | 21101 } |
21102 | 21102 |
21103 /// @docsEditable true | 21103 /// @docsEditable true |
21104 class WebSocketEvents extends Events { | 21104 class WebSocketEvents extends Events { |
21105 /// @docsEditable true | 21105 /// @docsEditable true |
21106 WebSocketEvents(EventTarget _ptr) : super(_ptr); | 21106 WebSocketEvents(EventTarget _ptr) : super(_ptr); |
21107 | 21107 |
21108 /// @docsEditable true | 21108 /// @docsEditable true |
21109 EventListenerList get close => this['close']; | 21109 EventListenerList get close => this['close']; |
21110 | 21110 |
(...skipping 5787 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
26898 _position = nextPosition; | 26898 _position = nextPosition; |
26899 return true; | 26899 return true; |
26900 } | 26900 } |
26901 _current = null; | 26901 _current = null; |
26902 _position = _array.length; | 26902 _position = _array.length; |
26903 return false; | 26903 return false; |
26904 } | 26904 } |
26905 | 26905 |
26906 T get current => _current; | 26906 T get current => _current; |
26907 } | 26907 } |
OLD | NEW |