htmlinterfaces

package
v0.12.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 11, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package htmlinterfaces contains internal code representing the IDL interfaces in the HTML DOM API

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTMLInputtableElement added in v0.11.1

type HTMLInputtableElement interface {
	dom.Element
	Value() string
	SetValue(string)
}

HTMLInputtableElement represents an HTMLElement that has a string "value" attribute

type History

type History interface {
	Length() int
	State() HistoryState
	Go(int) error
	Back() error
	Forward() error
	PushState(HistoryState, string) error
	ReplaceState(HistoryState, string) error
}

type HistoryState

type HistoryState string

type MessageChannel added in v0.11.3

type MessageChannel interface {
	Port1() MessagePort
	Port2() MessagePort
}

type MessagePort added in v0.11.3

type MessagePort interface {
	entity.Components
	event.EventTarget

	Onclose() event.EventHandler
	SetOnclose(event.EventHandler)
	Start()
	Close()
}

type TimerHandler added in v0.11.0

type TimerHandler = clock.TaskCallback

type VoidFunction added in v0.11.0

type VoidFunction = clock.TaskCallback

type WindowOrWorkerGlobalScope added in v0.11.0

type WindowOrWorkerGlobalScope interface {
	SetTimeout(TimerHandler, time.Duration) clock.TaskHandle
	ClearTimeout(clock.TaskHandle)
	SetInterval(TimerHandler, time.Duration) clock.TaskHandle
	ClearInterval(clock.TaskHandle)
	QueueMicrotask(VoidFunction)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL