htmlscriptelement

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	//ErrNotImplemented ErrNotImplemented error
	ErrNotImplemented         = errors.New("Browser not implemented HTMLScriptElement")
	ErrNotAnHTMLScriptElement = errors.New("Object is not an HTMLScriptElement")
)

Functions

func GetInterface

func GetInterface() js.Value

Types

type HtmlScriptElement

type HtmlScriptElement struct {
	htmlelement.HtmlElement
}

HtmlScriptElement struct

func NewFromElement

func NewFromElement(elem element.Element) (HtmlScriptElement, error)

func NewFromJSObject

func NewFromJSObject(obj js.Value) (HtmlScriptElement, error)

func (HtmlScriptElement) Async

func (h HtmlScriptElement) Async() (bool, error)

func (HtmlScriptElement) Defer

func (h HtmlScriptElement) Defer() (bool, error)

func (HtmlScriptElement) HtmlScriptElement_

func (h HtmlScriptElement) HtmlScriptElement_() HtmlScriptElement

func (HtmlScriptElement) NoModule

func (h HtmlScriptElement) NoModule() (bool, error)

func (HtmlScriptElement) ReferrerPolicy

func (h HtmlScriptElement) ReferrerPolicy() (string, error)

func (HtmlScriptElement) SetAsync

func (h HtmlScriptElement) SetAsync(value bool) error

func (HtmlScriptElement) SetDefer

func (h HtmlScriptElement) SetDefer(value bool) error

func (HtmlScriptElement) SetNoModule

func (h HtmlScriptElement) SetNoModule(value bool) error

func (HtmlScriptElement) SetReferrerPolicy

func (h HtmlScriptElement) SetReferrerPolicy(value string) error

func (HtmlScriptElement) SetSrc

func (h HtmlScriptElement) SetSrc(value string) error

func (HtmlScriptElement) SetText

func (h HtmlScriptElement) SetText(value string) error

func (HtmlScriptElement) SetType

func (h HtmlScriptElement) SetType(value string) error

func (HtmlScriptElement) Src

func (h HtmlScriptElement) Src() (string, error)

func (HtmlScriptElement) Text

func (h HtmlScriptElement) Text() (string, error)

func (HtmlScriptElement) Type

func (h HtmlScriptElement) Type() (string, error)

type HtmlScriptElementFrom

type HtmlScriptElementFrom interface {
	HtmlScriptElement_() HtmlScriptElement
}

Jump to

Keyboard shortcuts

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