Versions in this module Expand all Collapse all v1 v1.5.1 Sep 14, 2024 v1.5.0 Sep 11, 2024 Changes in this version + var ErrNotAWindow = errors.New("Object is not a Window") + var ErrNotImplemented = errors.New("Browser not implemented Window") + func Alert(message string) error + func Atob(encoded string) (string, error) + func Btoa(message string) (string, error) + func Confirm(message string) (bool, error) + func GetInterface() js.Value + func Prompt(message, input string) (*string, error) + type Window struct + func New() (Window, error) + func NewFromJSObject(obj js.Value) (Window, error) + func Open(url string, opts ...interface{}) (Window, error) + func (w Window) Blur() error + func (w Window) Document() (document.Document, error) + func (w Window) History() (history.History, error) + func (w Window) IndexdedDB() (indexeddb.IDBFactory, error) + func (w Window) LocalStorage() (storage.Storage, error) + func (w Window) Location() (location.Location, error) + func (w Window) Navigator() (navigator.Navigator, error) + func (w Window) OnHashChange(handler func(e event.Event)) (js.Func, error) + func (w Window) OnPopState(handler func(e event.Event)) (js.Func, error) + func (w Window) SessionStorage() (storage.Storage, error) + func (w Window) Window_() Window + type WindowFrom interface + Window_ func() Window