documentfragment

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	//ErrNotImplemented ErrNotImplemented error
	ErrNotImplemented = errors.New("Browser not implemented DocumentFragment")
	//ErrNotADocument ErrNotADocument
	ErrNotADocumentFragment = errors.New("The given value must be a DocumentFragment")
)

Functions

func GetInterface

func GetInterface() js.Value

Types

type DocumentFragment

type DocumentFragment struct {
	node.Node
}

func New

func New() (DocumentFragment, error)

func NewFromJSObject

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

func (DocumentFragment) Append

func (d DocumentFragment) Append(elems ...interface{}) error

func (DocumentFragment) ChildElementCount

func (d DocumentFragment) ChildElementCount() (int, error)

func (DocumentFragment) Children

func (DocumentFragment) DocumentFragment_

func (d DocumentFragment) DocumentFragment_() DocumentFragment

func (DocumentFragment) FirstElementChild

func (d DocumentFragment) FirstElementChild() (element.Element, error)

func (DocumentFragment) GetElementById

func (d DocumentFragment) GetElementById(id string) (element.Element, error)

func (DocumentFragment) LastElementChild

func (d DocumentFragment) LastElementChild() (element.Element, error)

func (DocumentFragment) Prepend

func (d DocumentFragment) Prepend(elems ...interface{}) error

func (DocumentFragment) QuerySelector

func (d DocumentFragment) QuerySelector(selector string) (element.Element, error)

func (DocumentFragment) QuerySelectorAll

func (d DocumentFragment) QuerySelectorAll(selector string) (nodelist.NodeList, error)

func (DocumentFragment) ReplaceChild

func (d DocumentFragment) ReplaceChild(new, old node.Node) (node.Node, error)

type DocumentFragmentFrom

type DocumentFragmentFrom interface {
	DocumentFragment_() DocumentFragment
}

Jump to

Keyboard shortcuts

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