# Functions
Doc returns the global document.
NewA returns a new A element.
NewButton returns a new Button element.
NewCanvas returns a new Canvas element.
NewDiv returns a new Div element.
NewFont returns a new font description with the specified size in pixels and family.
NewOption returns a new Option element.
NewParagraph returns a new Paragraph element.
NewPoint returns a new point.
NewRect returns a new rect.
NewRectWH returns a new rect from the top-left point and width and height values.
NewSelect returns a new Select element.
NewSpan returns a new Span element.
NewTable returns a new Table element.
NewTd returns a new Td element.
NewTh returns a new Th element.
NewTr returns a new Tr element.
No description provided by the author
RGB returns a new Color with the specified red, green and blue values that each range from 0 to 1.
RGBA returns a new Color with the specified red, green, blue and alpha values that each range from 0 to 1.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
Win is the global window.
# Structs
A represents an HTML <A> element.
Button represents an HTML <button> element.
Canvas represents an HTML <canvas> element.
No description provided by the author
No description provided by the author
Context2D represents a func (c *Context2D).
No description provided by the author
Div represents an HTML <div> element.
Document is the root of DOM.
Element is represents a DOM element type.
HashChangeEvent holds information about a URL hash change.
No description provided by the author
Location holds information about a URL.
Matrix represents a 3x3 matrix.
MouseEvent holds information about a mouse event.
Option represents an HTML <option> element.
Paragraph represents an HTML <p> element.
Point represents a two-dimensional position.
Rect represents a rectangle.
Select represents an HTML <select> element.
No description provided by the author
Span represents an HTML <span> element.
Table represents an HTML <table> element.
Td represents an HTML <td> element.
Text represents a text node.
Th represents an HTML <th> element.
Tr represents an HTML <tr> element.
Video represents an HTML <video> element.
Window represents a window that holds a document.
# Interfaces
CanvasImageSource is any of the following types: HTMLImageElement, HTMLVideoElement, HTMLCanvasElement, or ImageBitmap.
ElementProvider is the interface implemented by types that are represented by a DOM element.
No description provided by the author
Node is the interface implemented by DOM node types.
No description provided by the author
# Type aliases
Color is a CSS color.
CompositeOperation is an enumerator of alpha blending composite functions.
Display is a CSS display enumerator.
No description provided by the author
FlexDirection is a CSS flexbox direction enumerator.
Font is a font description.
LineCap is an enumerator of line ending styles.
LineJoin is an enumerator of styles where two lines meet.
MouseButton is an enumerator of mouse buttons.
Position is a CSS position enumerator.
Repetition is an enumerator of pattern repetition modes.
TextAlign is an enumerator of text alignments.
TextBaseline is an enumerator of text baselines.
TextDirection is an enumerator of text flow directions.
Unsubscribe is the function returned by event subscription methods, such as OnClick.