package
0.3.2
Repository: https://github.com/life4/gweb.git
Documentation: pkg.go.dev

# Functions

Returns JS global https://developer.mozilla.org/en-US/docs/Web/API/Window.

# Constants

deprecated.
deprecated.
deprecated.
EventTypeAbort means that the loading of a resource has been aborted.
EventTypeAfterPrint means that the print dialog is closed.
EventTypeAnimationCancel means that a CSS animation has aborted.
EventTypeAnimationEnd means that a CSS animation has completed.
EventTypeAnimationiteration means that a CSS animation is repeated.
EventTypeAnimationStart means that a CSS animation has started.
EventTypeAudioProcess means that the input buffer of a ScriptProcessorNode is ready to be processed.
EventTypeAuxClick means that a pointing device button (ANY non-primary button) has been pressed and released on an element.
EventTypeBeforePrint means that the print dialog is opened.
EventTypeBeforeUnload means that the window, the document and its resources are about to be unloaded.
EventTypeBlur means that an element has lost focus (does not bubble).
EventTypeCanPlay means that the browser can play the media, but estimates that not enough data has been loaded to play the media up to its end without having to stop for further buffering of content.
EventTypeCanPlayThrough means that the browser estimates it can play the media up to its end without stopping for content buffering.
EventTypeClick means that a pointing device button (ANY button; soon to be primary button only) has been pressed and released on an element.
EventTypeClose means that a WebSocket connection has been closed.
EventTypeComplete means that the rendering of an OfflineAudioContext is terminated.
EventTypeCompositionEnd means that the composition of a passage of text has been completed or canceled.
EventTypeCompositionStart means that the composition of a passage of text is prepared (similar to keydown for a keyboard input, but works with other inputs such as speech recognition).
EventTypeCompositionUpdate means that a character is added to a passage of text being composed.
EventTypeContextMenu means that the right button of the mouse is clicked (before the context menu is displayed).
EventTypeCopy means that the selection has been copied to the clipboard.
EventTypeCut means that the selection has been cut and copied to the clipboard.
EventTypeDoubleClick means that a pointing device button is clicked twice on an element.
EventTypeDrag means that an element or text selection is being dragged (Fired continuously every 350ms).
EventTypeDragEnd means that a drag operation is being ended (by releasing a mouse button or hitting the escape key).
EventTypeDragEnter means that a dragged element or text selection enters a valid drop target.
EventTypeDragLeave means that a dragged element or text selection leaves a valid drop target.
EventTypeDragOver means that an element or text selection is being dragged over a valid drop target.
EventTypeDragStart means that the user starts dragging an element or text selection.
EventTypeDrop means that an element is dropped on a valid drop target.
EventTypeDurationChange means that the duration attribute has been updated.
EventTypeEmptied means that the media has become empty; for example, this event is sent if the media has already been loaded (or partially loaded), and the load() method is called to reload it.
EventTypeEnded means that Playback has stopped because the end of the media was reached.
EventTypeError means that a resource failed to load.
EventTypeFocus means that an element has received focus (does not bubble).
EventTypeFullscreenChange means that an element was turned to fullscreen mode or back to normal mode.
EventTypeFullscreenError means that It was impossible to switch to fullscreen mode for technical reasons or because the permission was denied.
EventTypeKeyDown means that aNY key is pressed.
EventTypeKeyPress means that aNY key except Shift, Fn, CapsLock is in pressed position.
EventTypeKeyUp means that aNY key is released.
EventTypeLoad means that a resource and its dependent resources have finished loading.
EventTypeLoadedData means that the first frame of the media has finished loading.
EventTypeLoadedMetadata means that the metadata has been loaded.
EventTypeLoadEnd means that Progress has stopped (after "error", "abort" or "load" have been dispatched).
EventTypeLoadStart means that Progress has begun.
EventTypeMessage means that a message is received through a WebSocket.
EventTypeMouseDown means that a pointing device button is pressed on an element.
EventTypeMouseEnter means that a pointing device is moved onto the element that has the listener attached.
EventTypeMouseLeave means that a pointing device is moved off the element that has the listener attached.
EventTypeMouseMove means that a pointing device is moved over an element.
EventTypeMouseOut means that a pointing device is moved off the element that has the listener attached or off one of its children.
EventTypeMouseOver means that a pointing device is moved onto the element that has the listener attached or onto one of its children.
EventTypeMouseUp means that a pointing device button is released over an element.
EventTypeOffline means that the browser has lost access to the network.
EventTypeOnline means that the browser has gained access to the network.
EventTypeOpen means that a WebSocket connection has been established.
EventTypePageHide means that a session history entry is being traversed from.
EventTypePageShow means that a session history entry is being traversed to.
EventTypePaste means that the item from the clipboard has been pasted.
EventTypePause means that Playback has been paused.
EventTypePlay means that Playback has begun.
EventTypePlaying means that Playback is ready to start after having been paused or delayed due to lack of data.
EventTypePointerLockChange means that the pointer was locked or released.
EventTypePointerLockError means that It was impossible to lock the pointer for technical reasons or because the permission was denied.
EventTypePopState means that a session history entry is being navigated to (in certain cases).
EventTypeProgress means that In progress.
EventTypeRateChange means that the playback rate has changed.
EventTypeReset means that the reset button is pressed.
EventTypeResize means that the document view has been resized.
EventTypeScroll means that the document view or an element has been scrolled.
EventTypeSeeked means that a seek operation completed.
EventTypeSeeking means that a seek operation began.
EventTypeSelect means that Some text is being selected.
EventTypeStalled means that the user agent is trying to fetch media data, but data is unexpectedly not forthcoming.
EventTypeSubmit means that the submit button is pressed.
EventTypeSuspend means that Media data loading has been suspended.
EventTypeTimeout means that Progression is terminated due to preset time expiring.
EventTypeTimeUpdate means that the time indicated by the currentTime attribute has been updated.
EventTypeTransitionCancel means that a CSS transition has been cancelled.
EventTypeTransitionEnd means that a CSS transition has completed.
EventTypeTransitionRun means that a CSS transition has begun running (fired before any delay starts).
EventTypeTransitionStart means that a CSS transition has actually started (fired after any delay).
EventTypeUnload means that the document or a dependent resource is being unloaded.
EventTypeVolumeChange means that the volume has changed.
EventTypeWaiting means that Playback has stopped because of a temporary lack of data.
EventTypeWheel means that a wheel button of a pointing device is rotated in any direction.
deprecated.

# Structs

Canvas provides properties and methods for manipulating the layout and presentation of <canvas> elements.
https://developer.mozilla.org/en-US/docs/Web/API/Console.
Embed represents HTMLEmbedElement and HTMLObjectElement.
https://developer.mozilla.org/en-US/docs/Web/API/Event.
https://developer.mozilla.org/en-US/docs/Web/API/EventTarget.
Headers encapsulates methods to work with HTTP response headers.
https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement.
Object used to send HTTP requests.
https://developer.mozilla.org/en-US/docs/Web/API/Node https://developer.mozilla.org/en-US/docs/Web/API/ParentNode.
Incapsulates a set of offset-related properties.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise.
https://developer.mozilla.org/en-US/docs/Web/API/Screen.
Value is an extended js.Value with more types support.
https://developer.mozilla.org/en-US/docs/Web/API/Window.

# Type aliases

EVENT TYPES https://developer.mozilla.org/en-US/docs/Web/Events.