Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddEventListener ¶
Types ¶
type Body ¶
type Body struct {
Style StyleBody
}
func (*Body) AppendCanvasChild ¶
func (*Body) AppendChild ¶
type Canvas ¶
type Canvas struct {
JSCanvas Value
}
func CreateCanvasElement ¶
func CreateCanvasElement() *Canvas
func GetElementById ¶
type Document ¶
type Document struct { Body *Body DocumentElement *DocumentElement }
type DocumentElement ¶
type DocumentElement struct {
Style StyleDocument
}
func (*DocumentElement) ClientHeight ¶
func (d *DocumentElement) ClientHeight() int
func (*DocumentElement) ClientWidth ¶
func (d *DocumentElement) ClientWidth() int
type StyleDocument ¶
type StyleDocument struct{}
func (*StyleDocument) Set ¶
func (d *StyleDocument) Set(inputKey string, inputValue any)
Click to show internal directories.
Click to hide internal directories.