regions

package
v0.0.0-...-41cedfc Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2022 License: BSD-3-Clause Imports: 4 Imported by: 1

Documentation

Overview

Package regions allows content from one or more elements to flow through one or more boxes called CSS Regions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NamedFlow

type NamedFlow struct {
	domcore.EventTarget
}

class: NamedFlow

func NamedFlowFromJS

func NamedFlowFromJS(value js.Value) *NamedFlow

NamedFlowFromJS is casting a js.Value into NamedFlow.

func NamedFlowFromWrapper

func NamedFlowFromWrapper(input core.Wrapper) *NamedFlow

NamedFlowFromJS is casting from something that holds a js.Value into NamedFlow.

func (*NamedFlow) FirstEmptyRegionIndex

func (_this *NamedFlow) FirstEmptyRegionIndex() int

FirstEmptyRegionIndex returning attribute 'firstEmptyRegionIndex' with type int (idl: short).

func (*NamedFlow) GetContent

func (_this *NamedFlow) GetContent() (_result []*dom.Node)

func (*NamedFlow) GetRegions

func (_this *NamedFlow) GetRegions() (_result []*Region)

func (*NamedFlow) GetRegionsByContent

func (_this *NamedFlow) GetRegionsByContent(node *dom.Node) (_result []*Region)

func (*NamedFlow) Name

func (_this *NamedFlow) Name() string

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

func (*NamedFlow) Overset

func (_this *NamedFlow) Overset() bool

Overset returning attribute 'overset' with type bool (idl: boolean).

type NamedFlowMap

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

class: NamedFlowMap

func NamedFlowMapFromJS

func NamedFlowMapFromJS(value js.Value) *NamedFlowMap

NamedFlowMapFromJS is casting a js.Value into NamedFlowMap.

func NamedFlowMapFromWrapper

func NamedFlowMapFromWrapper(input core.Wrapper) *NamedFlowMap

NamedFlowMapFromJS is casting from something that holds a js.Value into NamedFlowMap.

func (*NamedFlowMap) Delete

func (_this *NamedFlowMap) Delete(flowName string) (_result bool)

func (*NamedFlowMap) Get

func (_this *NamedFlowMap) Get(flowName string) (_result *NamedFlow)

func (*NamedFlowMap) Has

func (_this *NamedFlowMap) Has(flowName string) (_result bool)

func (*NamedFlowMap) JSValue

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

JSValue returns the js.Value or js.Null() if _this is nil

func (*NamedFlowMap) Set

func (_this *NamedFlowMap) Set(flowName string, flowValue *NamedFlow) (_result *NamedFlowMap)

type Region

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

class: Region

func RegionFromJS

func RegionFromJS(value js.Value) *Region

RegionFromJS is casting a js.Value into Region.

func RegionFromWrapper

func RegionFromWrapper(input core.Wrapper) *Region

RegionFromJS is casting from something that holds a js.Value into Region.

func (*Region) GetRegionFlowRanges

func (_this *Region) GetRegionFlowRanges() (_result []*dom.Range)

func (*Region) JSValue

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

JSValue returns the js.Value or js.Null() if _this is nil

func (*Region) RegionOverset

func (_this *Region) RegionOverset() string

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

type Union

type Union struct {
	Value js.Value
}

func UnionFromJS

func UnionFromJS(value js.Value) *Union

func (*Union) JSValue

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

Jump to

Keyboard shortcuts

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