htmllinkelement

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: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	//ErrNotImplemented ErrNotImplemented error
	ErrNotImplemented       = errors.New("Browser not implemented HtmlAnchorElement")
	ErrNotAnHtmlLinkElement = errors.New("Object is not an HtmlLinkElement")
)

Functions

func GetInterface

func GetInterface() js.Value

Types

type HtmlLinkElement

type HtmlLinkElement struct {
	htmlelement.HtmlElement
}

HtmlLinkElement struct

func NewFromElement

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

func NewFromJSObject

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

func (HtmlLinkElement) As

func (h HtmlLinkElement) As() (string, error)

func (HtmlLinkElement) Disabled

func (s HtmlLinkElement) Disabled() (bool, error)

func (HtmlLinkElement) Href

func (h HtmlLinkElement) Href() (string, error)

func (HtmlLinkElement) Hreflang

func (h HtmlLinkElement) Hreflang() (string, error)

func (HtmlLinkElement) HtmlLinkElement_

func (h HtmlLinkElement) HtmlLinkElement_() HtmlLinkElement

func (HtmlLinkElement) Media

func (h HtmlLinkElement) Media() (string, error)

func (HtmlLinkElement) ReferrerPolicy

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

func (HtmlLinkElement) Rel

func (h HtmlLinkElement) Rel() (string, error)

func (HtmlLinkElement) RelList

func (HtmlLinkElement) SetAs

func (h HtmlLinkElement) SetAs(value string) error

func (HtmlLinkElement) SetDisabled

func (s HtmlLinkElement) SetDisabled(value bool) error

func (HtmlLinkElement) SetHref

func (h HtmlLinkElement) SetHref(value string) error

func (HtmlLinkElement) SetHreflang

func (h HtmlLinkElement) SetHreflang(value string) error

func (HtmlLinkElement) SetMedia

func (h HtmlLinkElement) SetMedia(value string) error

func (HtmlLinkElement) SetReferrerPolicy

func (h HtmlLinkElement) SetReferrerPolicy(value string) error

func (HtmlLinkElement) SetRel

func (h HtmlLinkElement) SetRel(value string) error

func (HtmlLinkElement) SetType

func (h HtmlLinkElement) SetType(value string) error

func (HtmlLinkElement) Sheet

func (HtmlLinkElement) Sizes

func (HtmlLinkElement) Type

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

type HtmlLinkElementFrom

type HtmlLinkElementFrom interface {
	HtmlLinkElement_() HtmlLinkElement
}

Jump to

Keyboard shortcuts

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