webapi: github.com/gowebapi/webapi/html/htmlmisc Index | Files

package htmlmisc

import "github.com/gowebapi/webapi/html/htmlmisc"

Pacakge htmlmisc is the unsorted collection of types.

Source: HTML Standard (https://html.spec.whatwg.org/)

Index

Package Files

doc.go htmlmisc.go

Constants

const (
    UNCACHED    int = 0
    IDLE        int = 1
    CHECKING    int = 2
    DOWNLOADING int = 3
    UPDATEREADY int = 4
    OBSOLETE    int = 5
)
const (
    CONNECTING int = 0
    OPEN       int = 1
    CLOSED     int = 2
)

type ApplicationCache Uses

type ApplicationCache struct {
    domcore.EventTarget
}

class: ApplicationCache

func ApplicationCacheFromJS Uses

func ApplicationCacheFromJS(value js.Wrapper) *ApplicationCache

ApplicationCacheFromJS is casting a js.Wrapper into ApplicationCache.

func (*ApplicationCache) Abort Uses

func (_this *ApplicationCache) Abort()

func (*ApplicationCache) AddEventCached Uses

func (_this *ApplicationCache) AddEventCached(listener func(event *domcore.Event, currentTarget *ApplicationCache)) js.Func

AddCached is adding doing AddEventListener for 'Cached' on target. This method is returning allocated javascript function that need to be released.

func (*ApplicationCache) AddEventChecking Uses

func (_this *ApplicationCache) AddEventChecking(listener func(event *domcore.Event, currentTarget *ApplicationCache)) js.Func

AddChecking is adding doing AddEventListener for 'Checking' on target. This method is returning allocated javascript function that need to be released.

func (*ApplicationCache) AddEventDownloading Uses

func (_this *ApplicationCache) AddEventDownloading(listener func(event *domcore.Event, currentTarget *ApplicationCache)) js.Func

AddDownloading is adding doing AddEventListener for 'Downloading' on target. This method is returning allocated javascript function that need to be released.

func (*ApplicationCache) AddEventError Uses

func (_this *ApplicationCache) AddEventError(listener func(event *domcore.Event, currentTarget *ApplicationCache)) js.Func

AddError is adding doing AddEventListener for 'Error' on target. This method is returning allocated javascript function that need to be released.

func (*ApplicationCache) AddEventNoupdate Uses

func (_this *ApplicationCache) AddEventNoupdate(listener func(event *domcore.Event, currentTarget *ApplicationCache)) js.Func

AddNoupdate is adding doing AddEventListener for 'Noupdate' on target. This method is returning allocated javascript function that need to be released.

func (*ApplicationCache) AddEventObsolete Uses

func (_this *ApplicationCache) AddEventObsolete(listener func(event *domcore.Event, currentTarget *ApplicationCache)) js.Func

AddObsolete is adding doing AddEventListener for 'Obsolete' on target. This method is returning allocated javascript function that need to be released.

func (*ApplicationCache) AddEventProgress Uses

func (_this *ApplicationCache) AddEventProgress(listener func(event *xhr.ProgressEvent, currentTarget *ApplicationCache)) js.Func

AddProgress is adding doing AddEventListener for 'Progress' on target. This method is returning allocated javascript function that need to be released.

func (*ApplicationCache) AddEventUpdateready Uses

func (_this *ApplicationCache) AddEventUpdateready(listener func(event *domcore.Event, currentTarget *ApplicationCache)) js.Func

AddUpdateready is adding doing AddEventListener for 'Updateready' on target. This method is returning allocated javascript function that need to be released.

func (*ApplicationCache) OnCached Uses

func (_this *ApplicationCache) OnCached() domcore.EventHandlerFunc

OnCached returning attribute 'oncached' with type domcore.EventHandler (idl: EventHandlerNonNull).

func (*ApplicationCache) OnChecking Uses

func (_this *ApplicationCache) OnChecking() domcore.EventHandlerFunc

OnChecking returning attribute 'onchecking' with type domcore.EventHandler (idl: EventHandlerNonNull).

func (*ApplicationCache) OnDownloading Uses

func (_this *ApplicationCache) OnDownloading() domcore.EventHandlerFunc

OnDownloading returning attribute 'ondownloading' with type domcore.EventHandler (idl: EventHandlerNonNull).

func (*ApplicationCache) OnError Uses

func (_this *ApplicationCache) OnError() domcore.EventHandlerFunc

OnError returning attribute 'onerror' with type domcore.EventHandler (idl: EventHandlerNonNull).

func (*ApplicationCache) OnNoupdate Uses

func (_this *ApplicationCache) OnNoupdate() domcore.EventHandlerFunc

OnNoupdate returning attribute 'onnoupdate' with type domcore.EventHandler (idl: EventHandlerNonNull).

func (*ApplicationCache) OnObsolete Uses

func (_this *ApplicationCache) OnObsolete() domcore.EventHandlerFunc

OnObsolete returning attribute 'onobsolete' with type domcore.EventHandler (idl: EventHandlerNonNull).

func (*ApplicationCache) OnProgress Uses

func (_this *ApplicationCache) OnProgress() domcore.EventHandlerFunc

OnProgress returning attribute 'onprogress' with type domcore.EventHandler (idl: EventHandlerNonNull).

func (*ApplicationCache) OnUpdateready Uses

func (_this *ApplicationCache) OnUpdateready() domcore.EventHandlerFunc

OnUpdateready returning attribute 'onupdateready' with type domcore.EventHandler (idl: EventHandlerNonNull).

func (*ApplicationCache) SetOnCached Uses

func (_this *ApplicationCache) SetOnCached(listener func(event *domcore.Event, currentTarget *ApplicationCache)) js.Func

SetOnCached is assigning a function to 'oncached'. This This method is returning allocated javascript function that need to be released.

func (*ApplicationCache) SetOnChecking Uses

func (_this *ApplicationCache) SetOnChecking(listener func(event *domcore.Event, currentTarget *ApplicationCache)) js.Func

SetOnChecking is assigning a function to 'onchecking'. This This method is returning allocated javascript function that need to be released.

func (*ApplicationCache) SetOnDownloading Uses

func (_this *ApplicationCache) SetOnDownloading(listener func(event *domcore.Event, currentTarget *ApplicationCache)) js.Func

SetOnDownloading is assigning a function to 'ondownloading'. This This method is returning allocated javascript function that need to be released.

func (*ApplicationCache) SetOnError Uses

func (_this *ApplicationCache) SetOnError(listener func(event *domcore.Event, currentTarget *ApplicationCache)) js.Func

SetOnError is assigning a function to 'onerror'. This This method is returning allocated javascript function that need to be released.

func (*ApplicationCache) SetOnNoupdate Uses

func (_this *ApplicationCache) SetOnNoupdate(listener func(event *domcore.Event, currentTarget *ApplicationCache)) js.Func

SetOnNoupdate is assigning a function to 'onnoupdate'. This This method is returning allocated javascript function that need to be released.

func (*ApplicationCache) SetOnObsolete Uses

func (_this *ApplicationCache) SetOnObsolete(listener func(event *domcore.Event, currentTarget *ApplicationCache)) js.Func

SetOnObsolete is assigning a function to 'onobsolete'. This This method is returning allocated javascript function that need to be released.

func (*ApplicationCache) SetOnProgress Uses

func (_this *ApplicationCache) SetOnProgress(listener func(event *xhr.ProgressEvent, currentTarget *ApplicationCache)) js.Func

SetOnProgress is assigning a function to 'onprogress'. This This method is returning allocated javascript function that need to be released.

func (*ApplicationCache) SetOnUpdateready Uses

func (_this *ApplicationCache) SetOnUpdateready(listener func(event *domcore.Event, currentTarget *ApplicationCache)) js.Func

SetOnUpdateready is assigning a function to 'onupdateready'. This This method is returning allocated javascript function that need to be released.

func (*ApplicationCache) Status Uses

func (_this *ApplicationCache) Status() int

Status returning attribute 'status' with type int (idl: unsigned short).

func (*ApplicationCache) SwapCache Uses

func (_this *ApplicationCache) SwapCache()

func (*ApplicationCache) Update Uses

func (_this *ApplicationCache) Update()

type BarProp Uses

type BarProp struct {
    // Value_JS holds a reference to a javascript value
    Value_JS js.Value
}

class: BarProp

func BarPropFromJS Uses

func BarPropFromJS(value js.Wrapper) *BarProp

BarPropFromJS is casting a js.Wrapper into BarProp.

func (*BarProp) JSValue Uses

func (_this *BarProp) JSValue() js.Value

func (*BarProp) Visible Uses

func (_this *BarProp) Visible() bool

Visible returning attribute 'visible' with type bool (idl: boolean).

type CustomElementConstructor Uses

type CustomElementConstructor js.Func

CustomElementConstructor is a javascript function type.

Call Release() when done to release resouces allocated to this type.

func CustomElementConstructorToJS Uses

func CustomElementConstructorToJS(callback CustomElementConstructorFunc) *CustomElementConstructor

type CustomElementConstructorFunc Uses

type CustomElementConstructorFunc func() interface{}

callback: CustomElementConstructor

func CustomElementConstructorFromJS Uses

func CustomElementConstructorFromJS(_value js.Value) CustomElementConstructorFunc

type CustomElementRegistry Uses

type CustomElementRegistry struct {
    // Value_JS holds a reference to a javascript value
    Value_JS js.Value
}

class: CustomElementRegistry

func CustomElementRegistryFromJS Uses

func CustomElementRegistryFromJS(value js.Wrapper) *CustomElementRegistry

CustomElementRegistryFromJS is casting a js.Wrapper into CustomElementRegistry.

func (*CustomElementRegistry) Define Uses

func (_this *CustomElementRegistry) Define(name string, constructor *CustomElementConstructor, options *ElementDefinitionOptions)

func (*CustomElementRegistry) Get Uses

func (_this *CustomElementRegistry) Get(name string) (_result js.Value)

func (*CustomElementRegistry) JSValue Uses

func (_this *CustomElementRegistry) JSValue() js.Value

func (*CustomElementRegistry) Upgrade Uses

func (_this *CustomElementRegistry) Upgrade(root *dom.Node)

func (*CustomElementRegistry) WhenDefined Uses

func (_this *CustomElementRegistry) WhenDefined(name string) (_result *javascript.PromiseVoid)

type ElementDefinitionOptions Uses

type ElementDefinitionOptions struct {
    Extends string
}

dictionary: ElementDefinitionOptions

func ElementDefinitionOptionsFromJS Uses

func ElementDefinitionOptionsFromJS(value js.Wrapper) *ElementDefinitionOptions

ElementDefinitionOptionsFromJS is allocating a new ElementDefinitionOptions object and copy all values from input javascript object

func (*ElementDefinitionOptions) JSValue Uses

func (_this *ElementDefinitionOptions) JSValue() js.Value

JSValue is allocating a new javasript object and copy all values

type EventSource Uses

type EventSource struct {
    domcore.EventTarget
}

class: EventSource

func EventSourceFromJS Uses

func EventSourceFromJS(value js.Wrapper) *EventSource

EventSourceFromJS is casting a js.Wrapper into EventSource.

func NewEventSource Uses

func NewEventSource(url string, eventSourceInitDict *EventSourceInit) (_result *EventSource)

func (*EventSource) AddEventError Uses

func (_this *EventSource) AddEventError(listener func(event *htmlevent.ErrorEvent, currentTarget *EventSource)) js.Func

AddError is adding doing AddEventListener for 'Error' on target. This method is returning allocated javascript function that need to be released.

func (*EventSource) AddEventMessage Uses

func (_this *EventSource) AddEventMessage(listener func(event *channel.MessageEvent, currentTarget *EventSource)) js.Func

AddMessage is adding doing AddEventListener for 'Message' on target. This method is returning allocated javascript function that need to be released.

func (*EventSource) AddEventOpen Uses

func (_this *EventSource) AddEventOpen(listener func(event *domcore.Event, currentTarget *EventSource)) js.Func

AddOpen is adding doing AddEventListener for 'Open' on target. This method is returning allocated javascript function that need to be released.

func (*EventSource) Close Uses

func (_this *EventSource) Close()

func (*EventSource) OnError Uses

func (_this *EventSource) OnError() domcore.EventHandlerFunc

OnError returning attribute 'onerror' with type domcore.EventHandler (idl: EventHandlerNonNull).

func (*EventSource) OnMessage Uses

func (_this *EventSource) OnMessage() domcore.EventHandlerFunc

OnMessage returning attribute 'onmessage' with type domcore.EventHandler (idl: EventHandlerNonNull).

func (*EventSource) OnOpen Uses

func (_this *EventSource) OnOpen() domcore.EventHandlerFunc

OnOpen returning attribute 'onopen' with type domcore.EventHandler (idl: EventHandlerNonNull).

func (*EventSource) ReadyState Uses

func (_this *EventSource) ReadyState() int

ReadyState returning attribute 'readyState' with type int (idl: unsigned short).

func (*EventSource) SetOnError Uses

func (_this *EventSource) SetOnError(listener func(event *htmlevent.ErrorEvent, currentTarget *EventSource)) js.Func

SetOnError is assigning a function to 'onerror'. This This method is returning allocated javascript function that need to be released.

func (*EventSource) SetOnMessage Uses

func (_this *EventSource) SetOnMessage(listener func(event *channel.MessageEvent, currentTarget *EventSource)) js.Func

SetOnMessage is assigning a function to 'onmessage'. This This method is returning allocated javascript function that need to be released.

func (*EventSource) SetOnOpen Uses

func (_this *EventSource) SetOnOpen(listener func(event *domcore.Event, currentTarget *EventSource)) js.Func

SetOnOpen is assigning a function to 'onopen'. This This method is returning allocated javascript function that need to be released.

func (*EventSource) Url Uses

func (_this *EventSource) Url() string

Url returning attribute 'url' with type string (idl: USVString).

func (*EventSource) WithCredentials Uses

func (_this *EventSource) WithCredentials() bool

WithCredentials returning attribute 'withCredentials' with type bool (idl: boolean).

type EventSourceInit Uses

type EventSourceInit struct {
    WithCredentials bool
}

dictionary: EventSourceInit

func EventSourceInitFromJS Uses

func EventSourceInitFromJS(value js.Wrapper) *EventSourceInit

EventSourceInitFromJS is allocating a new EventSourceInit object and copy all values from input javascript object

func (*EventSourceInit) JSValue Uses

func (_this *EventSourceInit) JSValue() js.Value

JSValue is allocating a new javasript object and copy all values

type External Uses

type External struct {
    // Value_JS holds a reference to a javascript value
    Value_JS js.Value
}

class: External

func ExternalFromJS Uses

func ExternalFromJS(value js.Wrapper) *External

ExternalFromJS is casting a js.Wrapper into External.

func (*External) AddSearchProvider Uses

func (_this *External) AddSearchProvider()

func (*External) IsSearchProviderInstalled Uses

func (_this *External) IsSearchProviderInstalled()

func (*External) JSValue Uses

func (_this *External) JSValue() js.Value

type History Uses

type History struct {
    // Value_JS holds a reference to a javascript value
    Value_JS js.Value
}

class: History

func HistoryFromJS Uses

func HistoryFromJS(value js.Wrapper) *History

HistoryFromJS is casting a js.Wrapper into History.

func (*History) Back Uses

func (_this *History) Back()

func (*History) Forward Uses

func (_this *History) Forward()

func (*History) Go Uses

func (_this *History) Go(delta *int)

func (*History) JSValue Uses

func (_this *History) JSValue() js.Value

func (*History) Length Uses

func (_this *History) Length() uint

Length returning attribute 'length' with type uint (idl: unsigned long).

func (*History) PushState Uses

func (_this *History) PushState(data interface{}, title string, url *string)

func (*History) ReplaceState Uses

func (_this *History) ReplaceState(data interface{}, title string, url *string)

func (*History) ScrollRestoration Uses

func (_this *History) ScrollRestoration() ScrollRestoration

ScrollRestoration returning attribute 'scrollRestoration' with type ScrollRestoration (idl: ScrollRestoration).

func (*History) SetScrollRestoration Uses

func (_this *History) SetScrollRestoration(value ScrollRestoration)

SetScrollRestoration setting attribute 'scrollRestoration' with type ScrollRestoration (idl: ScrollRestoration).

func (*History) State Uses

func (_this *History) State() js.Value

State returning attribute 'state' with type Any (idl: any).

type ImageBitmapRenderingContextSettings Uses

type ImageBitmapRenderingContextSettings struct {
    Alpha bool
}

dictionary: ImageBitmapRenderingContextSettings

func ImageBitmapRenderingContextSettingsFromJS Uses

func ImageBitmapRenderingContextSettingsFromJS(value js.Wrapper) *ImageBitmapRenderingContextSettings

ImageBitmapRenderingContextSettingsFromJS is allocating a new ImageBitmapRenderingContextSettings object and copy all values from input javascript object

func (*ImageBitmapRenderingContextSettings) JSValue Uses

func (_this *ImageBitmapRenderingContextSettings) JSValue() js.Value

JSValue is allocating a new javasript object and copy all values

type Location Uses

type Location struct {
    // Value_JS holds a reference to a javascript value
    Value_JS js.Value
}

class: Location

func LocationFromJS Uses

func LocationFromJS(value js.Wrapper) *Location

LocationFromJS is casting a js.Wrapper into Location.

func (*Location) AncestorOrigins Uses

func (_this *Location) AncestorOrigins() *domcore.DOMStringList

AncestorOrigins returning attribute 'ancestorOrigins' with type domcore.DOMStringList (idl: DOMStringList).

func (*Location) Assign Uses

func (_this *Location) Assign(url string)

func (*Location) Hash Uses

func (_this *Location) Hash() string

Hash returning attribute 'hash' with type string (idl: USVString).

func (*Location) Host Uses

func (_this *Location) Host() string

Host returning attribute 'host' with type string (idl: USVString).

func (*Location) Hostname Uses

func (_this *Location) Hostname() string

Hostname returning attribute 'hostname' with type string (idl: USVString).

func (*Location) Href Uses

func (_this *Location) Href() string

Href returning attribute 'href' with type string (idl: USVString).

func (*Location) JSValue Uses

func (_this *Location) JSValue() js.Value

func (*Location) Origin Uses

func (_this *Location) Origin() string

Origin returning attribute 'origin' with type string (idl: USVString).

func (*Location) Pathname Uses

func (_this *Location) Pathname() string

Pathname returning attribute 'pathname' with type string (idl: USVString).

func (*Location) Port Uses

func (_this *Location) Port() string

Port returning attribute 'port' with type string (idl: USVString).

func (*Location) Protocol Uses

func (_this *Location) Protocol() string

Protocol returning attribute 'protocol' with type string (idl: USVString).

func (*Location) Reload Uses

func (_this *Location) Reload()

func (*Location) Replace Uses

func (_this *Location) Replace(url string)

func (*Location) Search Uses

func (_this *Location) Search() string

Search returning attribute 'search' with type string (idl: USVString).

func (*Location) SetHash Uses

func (_this *Location) SetHash(value string)

SetHash setting attribute 'hash' with type string (idl: USVString).

func (*Location) SetHost Uses

func (_this *Location) SetHost(value string)

SetHost setting attribute 'host' with type string (idl: USVString).

func (*Location) SetHostname Uses

func (_this *Location) SetHostname(value string)

SetHostname setting attribute 'hostname' with type string (idl: USVString).

func (*Location) SetHref Uses

func (_this *Location) SetHref(value string)

SetHref setting attribute 'href' with type string (idl: USVString).

func (*Location) SetPathname Uses

func (_this *Location) SetPathname(value string)

SetPathname setting attribute 'pathname' with type string (idl: USVString).

func (*Location) SetPort Uses

func (_this *Location) SetPort(value string)

SetPort setting attribute 'port' with type string (idl: USVString).

func (*Location) SetProtocol Uses

func (_this *Location) SetProtocol(value string)

SetProtocol setting attribute 'protocol' with type string (idl: USVString).

func (*Location) SetSearch Uses

func (_this *Location) SetSearch(value string)

SetSearch setting attribute 'search' with type string (idl: USVString).

func (*Location) ToString Uses

func (_this *Location) ToString() string

ToString is an alias for Href.

type MimeType Uses

type MimeType struct {
    // Value_JS holds a reference to a javascript value
    Value_JS js.Value
}

class: MimeType

func MimeTypeFromJS Uses

func MimeTypeFromJS(value js.Wrapper) *MimeType

MimeTypeFromJS is casting a js.Wrapper into MimeType.

func (*MimeType) Description Uses

func (_this *MimeType) Description() string

Description returning attribute 'description' with type string (idl: DOMString).

func (*MimeType) EnabledPlugin Uses

func (_this *MimeType) EnabledPlugin() *Plugin

EnabledPlugin returning attribute 'enabledPlugin' with type Plugin (idl: Plugin).

func (*MimeType) JSValue Uses

func (_this *MimeType) JSValue() js.Value

func (*MimeType) Suffixes Uses

func (_this *MimeType) Suffixes() string

Suffixes returning attribute 'suffixes' with type string (idl: DOMString).

func (*MimeType) Type Uses

func (_this *MimeType) Type() string

Type returning attribute 'type' with type string (idl: DOMString).

type MimeTypeArray Uses

type MimeTypeArray struct {
    // Value_JS holds a reference to a javascript value
    Value_JS js.Value
}

class: MimeTypeArray

func MimeTypeArrayFromJS Uses

func MimeTypeArrayFromJS(value js.Wrapper) *MimeTypeArray

MimeTypeArrayFromJS is casting a js.Wrapper into MimeTypeArray.

func (*MimeTypeArray) Get Uses

func (_this *MimeTypeArray) Get(name string) (_result *MimeType)

func (*MimeTypeArray) Index Uses

func (_this *MimeTypeArray) Index(index uint) (_result *MimeType)

func (*MimeTypeArray) Item Uses

func (_this *MimeTypeArray) Item(index uint) (_result *MimeType)

func (*MimeTypeArray) JSValue Uses

func (_this *MimeTypeArray) JSValue() js.Value

func (*MimeTypeArray) Length Uses

func (_this *MimeTypeArray) Length() uint

Length returning attribute 'length' with type uint (idl: unsigned long).

func (*MimeTypeArray) NamedItem Uses

func (_this *MimeTypeArray) NamedItem(name string) (_result *MimeType)
type Navigator struct {
    // Value_JS holds a reference to a javascript value
    Value_JS js.Value
}

class: Navigator

func NavigatorFromJS(value js.Wrapper) *Navigator

NavigatorFromJS is casting a js.Wrapper into Navigator.

func (_this *Navigator) ActiveVRDisplays() *javascript.FrozenArray

ActiveVRDisplays returning attribute 'activeVRDisplays' with type javascript.FrozenArray (idl: FrozenArray).

func (_this *Navigator) AppCodeName() string

AppCodeName returning attribute 'appCodeName' with type string (idl: DOMString).

func (_this *Navigator) AppName() string

AppName returning attribute 'appName' with type string (idl: DOMString).

func (_this *Navigator) AppVersion() string

AppVersion returning attribute 'appVersion' with type string (idl: DOMString).

func (_this *Navigator) Bluetooth() *bluetooth.Bluetooth

Bluetooth returning attribute 'bluetooth' with type bluetooth.Bluetooth (idl: Bluetooth).

func (_this *Navigator) Clipboard() *clipboard.Clipboard

Clipboard returning attribute 'clipboard' with type clipboard.Clipboard (idl: Clipboard).

func (_this *Navigator) Connection() *netinfo.NetworkInformation

Connection returning attribute 'connection' with type netinfo.NetworkInformation (idl: NetworkInformation).

func (_this *Navigator) CookieEnabled() bool

CookieEnabled returning attribute 'cookieEnabled' with type bool (idl: boolean).

func (_this *Navigator) Credentials() *credential.CredentialsContainer

Credentials returning attribute 'credentials' with type credential.CredentialsContainer (idl: CredentialsContainer).

func (_this *Navigator) Geolocation() *sensor.Geolocation

Geolocation returning attribute 'geolocation' with type sensor.Geolocation (idl: Geolocation).

func (_this *Navigator) GetBattery() (_result *battery.PromiseBatteryManager)
func (_this *Navigator) GetGamepads() (_result []*gamepad.Gamepad)
func (_this *Navigator) GetUserMedia(constraints *local.MediaStreamConstraints, successCallback *local.NavigatorUserMediaSuccessCallback, errorCallback *local.NavigatorUserMediaErrorCallback)
func (_this *Navigator) GetVRDisplays() (_result *webvr.PromiseSequenceDisplay)
func (_this *Navigator) GetWakeLock(_type wakelock.WakeLockType) (_result *wakelock.PromiseWakeLock)
func (_this *Navigator) HardwareConcurrency() int

HardwareConcurrency returning attribute 'hardwareConcurrency' with type int (idl: unsigned long long).

func (_this *Navigator) JSValue() js.Value
func (_this *Navigator) JavaEnabled() (_result bool)
func (_this *Navigator) Keyboard() *keyboard.Keyboard

Keyboard returning attribute 'keyboard' with type keyboard.Keyboard (idl: Keyboard).

func (_this *Navigator) Language() string

Language returning attribute 'language' with type string (idl: DOMString).

func (_this *Navigator) Languages() *javascript.FrozenArray

Languages returning attribute 'languages' with type javascript.FrozenArray (idl: FrozenArray).

func (_this *Navigator) MaxTouchPoints() int

MaxTouchPoints returning attribute 'maxTouchPoints' with type int (idl: long).

func (_this *Navigator) MediaCapabilities() *capabilities.MediaCapabilities

MediaCapabilities returning attribute 'mediaCapabilities' with type capabilities.MediaCapabilities (idl: MediaCapabilities).

func (_this *Navigator) MediaDevices() *local.MediaDevices

MediaDevices returning attribute 'mediaDevices' with type local.MediaDevices (idl: MediaDevices).

func (_this *Navigator) MediaSession() *session.MediaSession

MediaSession returning attribute 'mediaSession' with type session.MediaSession (idl: MediaSession).

func (_this *Navigator) MimeTypes() *MimeTypeArray

MimeTypes returning attribute 'mimeTypes' with type MimeTypeArray (idl: MimeTypeArray).

func (_this *Navigator) OnLine() bool

OnLine returning attribute 'onLine' with type bool (idl: boolean).

func (_this *Navigator) Oscpu() string

Oscpu returning attribute 'oscpu' with type string (idl: DOMString).

func (_this *Navigator) Permissions() *permissions.Permissions

Permissions returning attribute 'permissions' with type permissions.Permissions (idl: Permissions).

func (_this *Navigator) Platform() string

Platform returning attribute 'platform' with type string (idl: DOMString).

func (_this *Navigator) Plugins() *PluginArray

Plugins returning attribute 'plugins' with type PluginArray (idl: PluginArray).

func (_this *Navigator) Presentation() *presentation.Presentation

Presentation returning attribute 'presentation' with type presentation.Presentation (idl: Presentation).

func (_this *Navigator) Product() string

Product returning attribute 'product' with type string (idl: DOMString).

func (_this *Navigator) ProductSub() string

ProductSub returning attribute 'productSub' with type string (idl: DOMString).

func (_this *Navigator) RegisterProtocolHandler(scheme string, url string, title string)
func (_this *Navigator) RequestMIDIAccess(options *midi.Options) (_result *midi.PromiseAccess)
func (_this *Navigator) RequestMediaKeySystemAccess(keySystem string, supportedConfigurations []*encrypted.MediaKeySystemConfiguration) (_result *encrypted.PromiseMediaKeySystemAccess)
func (_this *Navigator) SendBeacon(url string, data *Union) (_result bool)
func (_this *Navigator) ServiceWorker() *serviceworker.ServiceWorkerContainer

ServiceWorker returning attribute 'serviceWorker' with type serviceworker.ServiceWorkerContainer (idl: ServiceWorkerContainer).

func (_this *Navigator) Share(data *share.ShareData) (_result *javascript.PromiseVoid)
func (_this *Navigator) Storage() *storage.StorageManager

Storage returning attribute 'storage' with type storage.StorageManager (idl: StorageManager).

func (_this *Navigator) TaintEnabled() (_result bool)
func (_this *Navigator) UnregisterProtocolHandler(scheme string, url string)
func (_this *Navigator) Usb() *usb.USB

Usb returning attribute 'usb' with type usb.USB (idl: USB).

func (_this *Navigator) UserAgent() string

UserAgent returning attribute 'userAgent' with type string (idl: DOMString).

func (_this *Navigator) Vendor() string

Vendor returning attribute 'vendor' with type string (idl: DOMString).

func (_this *Navigator) VendorSub() string

VendorSub returning attribute 'vendorSub' with type string (idl: DOMString).

func (_this *Navigator) Vibrate(pattern *Union) (_result bool)
func (_this *Navigator) Webdriver() bool

Webdriver returning attribute 'webdriver' with type bool (idl: boolean).

func (_this *Navigator) Xr() *webxr.XR

Xr returning attribute 'xr' with type webxr.XR (idl: XR).

type Plugin Uses

type Plugin struct {
    // Value_JS holds a reference to a javascript value
    Value_JS js.Value
}

class: Plugin

func PluginFromJS Uses

func PluginFromJS(value js.Wrapper) *Plugin

PluginFromJS is casting a js.Wrapper into Plugin.

func (*Plugin) Description Uses

func (_this *Plugin) Description() string

Description returning attribute 'description' with type string (idl: DOMString).

func (*Plugin) Filename Uses

func (_this *Plugin) Filename() string

Filename returning attribute 'filename' with type string (idl: DOMString).

func (*Plugin) Get Uses

func (_this *Plugin) Get(name string) (_result *MimeType)

func (*Plugin) Index Uses

func (_this *Plugin) Index(index uint) (_result *MimeType)

func (*Plugin) Item Uses

func (_this *Plugin) Item(index uint) (_result *MimeType)

func (*Plugin) JSValue Uses

func (_this *Plugin) JSValue() js.Value

func (*Plugin) Length Uses

func (_this *Plugin) Length() uint

Length returning attribute 'length' with type uint (idl: unsigned long).

func (*Plugin) Name Uses

func (_this *Plugin) Name() string

Name returning attribute 'name' with type string (idl: DOMString).

func (*Plugin) NamedItem Uses

func (_this *Plugin) NamedItem(name string) (_result *MimeType)

type PluginArray Uses

type PluginArray struct {
    // Value_JS holds a reference to a javascript value
    Value_JS js.Value
}

class: PluginArray

func PluginArrayFromJS Uses

func PluginArrayFromJS(value js.Wrapper) *PluginArray

PluginArrayFromJS is casting a js.Wrapper into PluginArray.

func (*PluginArray) Get Uses

func (_this *PluginArray) Get(name string) (_result *Plugin)

func (*PluginArray) Index Uses

func (_this *PluginArray) Index(index uint) (_result *Plugin)

func (*PluginArray) Item Uses

func (_this *PluginArray) Item(index uint) (_result *Plugin)

func (*PluginArray) JSValue Uses

func (_this *PluginArray) JSValue() js.Value

func (*PluginArray) Length Uses

func (_this *PluginArray) Length() uint

Length returning attribute 'length' with type uint (idl: unsigned long).

func (*PluginArray) NamedItem Uses

func (_this *PluginArray) NamedItem(name string) (_result *Plugin)

func (*PluginArray) Refresh Uses

func (_this *PluginArray) Refresh(reload *bool)

type RadioNodeList Uses

type RadioNodeList struct {
    dom.NodeList
}

class: RadioNodeList

func RadioNodeListFromJS Uses

func RadioNodeListFromJS(value js.Wrapper) *RadioNodeList

RadioNodeListFromJS is casting a js.Wrapper into RadioNodeList.

func (*RadioNodeList) SetValue Uses

func (_this *RadioNodeList) SetValue(value string)

SetValue setting attribute 'value' with type string (idl: DOMString).

func (*RadioNodeList) Value Uses

func (_this *RadioNodeList) Value() string

Value returning attribute 'value' with type string (idl: DOMString).

type ScrollRestoration Uses

type ScrollRestoration int

enum: ScrollRestoration

const (
    AutoScrollRestoration ScrollRestoration = iota
    ManualScrollRestoration
)

func ScrollRestorationFromJS Uses

func ScrollRestorationFromJS(value js.Value) ScrollRestoration

ScrollRestorationFromJS is converting a javascript value into a ScrollRestoration enum value.

func (*ScrollRestoration) JSValue Uses

func (this *ScrollRestoration) JSValue() js.Value

JSValue is converting this enum into a javascript object

func (ScrollRestoration) Value Uses

func (this ScrollRestoration) Value() string

Value is converting this into javascript defined string value

type Union Uses

type Union struct {
    Value js.Value
}

func UnionFromJS Uses

func UnionFromJS(value js.Value) *Union

func (*Union) JSValue Uses

func (u *Union) JSValue() js.Value

Package htmlmisc imports 29 packages (graph) and is imported by 1 packages. Updated 2019-09-18. Refresh now. Tools for package owners.