webapi: github.com/gowebapi/webapi/media/mediatype Index | Files

package mediatype

import "github.com/gowebapi/webapi/media/mediatype"

Package mediatype is common types inside media package

Index

Package Files

doc.go mediatype.go

type MediaSettingsRange Uses

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

class: MediaSettingsRange

func MediaSettingsRangeFromJS Uses

func MediaSettingsRangeFromJS(value js.Wrapper) *MediaSettingsRange

MediaSettingsRangeFromJS is casting a js.Wrapper into MediaSettingsRange.

func (*MediaSettingsRange) JSValue Uses

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

func (*MediaSettingsRange) Max Uses

func (_this *MediaSettingsRange) Max() float64

Max returning attribute 'max' with type float64 (idl: double).

func (*MediaSettingsRange) Min Uses

func (_this *MediaSettingsRange) Min() float64

Min returning attribute 'min' with type float64 (idl: double).

func (*MediaSettingsRange) Step Uses

func (_this *MediaSettingsRange) Step() float64

Step returning attribute 'step' with type float64 (idl: double).

type Point2D Uses

type Point2D struct {
    X   float64
    Y   float64
}

dictionary: Point2D

func Point2DFromJS Uses

func Point2DFromJS(value js.Wrapper) *Point2D

Point2DFromJS is allocating a new Point2D object and copy all values from input javascript object

func (*Point2D) JSValue Uses

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

JSValue is allocating a new javasript object and copy all values

type Union Uses

type Union struct {
    Value js.Value
}

func UnionFromJS Uses

func UnionFromJS(value js.Value) *Union

func (*Union) JSValue Uses

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

Package mediatype imports 1 packages (graph) and is imported by 2 packages. Updated 2019-09-17. Refresh now. Tools for package owners.