Documentation ¶
Overview ¶
Package htmlcommon is a common type package
Moving types that is references by multiple standard into this one.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BeforeUnloadEvent ¶
class: BeforeUnloadEvent
func BeforeUnloadEventFromJS ¶
func BeforeUnloadEventFromJS(value js.Value) *BeforeUnloadEvent
BeforeUnloadEventFromJS is casting a js.Value into BeforeUnloadEvent.
func BeforeUnloadEventFromWrapper ¶
func BeforeUnloadEventFromWrapper(input core.Wrapper) *BeforeUnloadEvent
BeforeUnloadEventFromJS is casting from something that holds a js.Value into BeforeUnloadEvent.
func (*BeforeUnloadEvent) ReturnValue ¶
func (_this *BeforeUnloadEvent) ReturnValue() string
ReturnValue returning attribute 'returnValue' with type string (idl: DOMString).
func (*BeforeUnloadEvent) SetReturnValue ¶
func (_this *BeforeUnloadEvent) SetReturnValue(value string)
SetReturnValue setting attribute 'returnValue' with type string (idl: DOMString).
type FrameRequestCallback ¶
FrameRequestCallback is a javascript function type.
Call Release() when done to release resouces allocated to this type.
func FrameRequestCallbackToJS ¶
func FrameRequestCallbackToJS(callback FrameRequestCallbackFunc) *FrameRequestCallback
type FrameRequestCallbackFunc ¶
type FrameRequestCallbackFunc func(time float64)
callback: FrameRequestCallback
func FrameRequestCallbackFromJS ¶
func FrameRequestCallbackFromJS(_value js.Value) FrameRequestCallbackFunc
type OnBeforeUnloadEventHandler ¶
OnBeforeUnloadEventHandler is a javascript function type.
Call Release() when done to release resouces allocated to this type.
func OnBeforeUnloadEventHandlerToJS ¶
func OnBeforeUnloadEventHandlerToJS(callback OnBeforeUnloadEventHandlerFunc) *OnBeforeUnloadEventHandler
type OnBeforeUnloadEventHandlerFunc ¶
callback: OnBeforeUnloadEventHandlerNonNull
func OnBeforeUnloadEventHandlerFromJS ¶
func OnBeforeUnloadEventHandlerFromJS(_value js.Value) OnBeforeUnloadEventHandlerFunc
type OnErrorEventHandler ¶
OnErrorEventHandler is a javascript function type.
Call Release() when done to release resouces allocated to this type.
func OnErrorEventHandlerToJS ¶
func OnErrorEventHandlerToJS(callback OnErrorEventHandlerFunc) *OnErrorEventHandler
type OnErrorEventHandlerFunc ¶
type OnErrorEventHandlerFunc func(event *Union, source *string, lineno *uint, colno *uint, _error js.Value) interface{}
callback: OnErrorEventHandlerNonNull
func OnErrorEventHandlerFromJS ¶
func OnErrorEventHandlerFromJS(_value js.Value) OnErrorEventHandlerFunc
type Union ¶
func UnionFromJS ¶
type WorkerType ¶
type WorkerType int
enum: WorkerType
const ( ClassicWorkerType WorkerType = iota ModuleWorkerType )
func WorkerTypeFromJS ¶
func WorkerTypeFromJS(value js.Value) WorkerType
WorkerTypeFromJS is converting a javascript value into a WorkerType enum value.
func (*WorkerType) JSValue ¶
func (this *WorkerType) JSValue() js.Value
JSValue is converting this enum into a javascript object
func (WorkerType) Value ¶
func (this WorkerType) Value() string
Value is converting this into javascript defined string value