Mac OS X Reference Library Apple Developer
Search

EventSource

Module:
window
Declared In:

Overview

Use the links in the table of contents to the left to access the documentation.



Functions

addEventListener
close
dispatchEvent
removeEventListener

addEventListener



void addEventListener(
    in DOMString type, 
    in EventListener listener, 
    in boolean useCapture); 

close



void close(); 

dispatchEvent



boolean dispatchEvent(
    in Event evt) raises(EventException); 

removeEventListener



void removeEventListener(
    in DOMString type, 
    in EventListener listener, 
    in boolean useCapture); 

Member Data

CLOSED
CONNECTING
onerror
onmessage
onopen
OPEN
readyState
URL

CLOSED



const unsigned short CLOSED = 2; 

CONNECTING



const unsigned short CONNECTING = 0; 

onerror



attribute EventListener onerror; 

onmessage



attribute EventListener onmessage; 

onopen



attribute EventListener onopen; 

OPEN



const unsigned short OPEN = 1; 

readyState



readonly attribute unsigned short readyState; 

URL



readonly attribute DOMString URL; 

 

Did this document help you? Yes It's good, but... Not helpful...

Last Updated: 2010-05-27