Documentation ¶ Index ¶ func AddEventListener(element js.Value, event string, handler func(result []js.Value)) func GetElementByID(elementID string) (element js.Value, err error) func GetElementByIDWithDoc(elementID string, jsDoc js.Value) (element js.Value, err error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func AddEventListener ¶ func AddEventListener(element js.Value, event string, handler func(result []js.Value)) func GetElementByID ¶ func GetElementByID(elementID string) (element js.Value, err error) func GetElementByIDWithDoc ¶ func GetElementByIDWithDoc(elementID string, jsDoc js.Value) (element js.Value, err error) Types ¶ This section is empty. Source Files ¶ View all Source files dom-io.go events.go Click to show internal directories. Click to hide internal directories.