borderWidth

package
v0.0.0-...-958e9d3 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Type

type Type string
const (
	Medium  Type = "medium"
	Thin    Type = "thin"
	Thick   Type = "thick"
	Initial Type = "initial"
	Inherit Type = "inherit"
)

func (Type) AddTo

func (t Type) AddTo(m map[string]string)

func (Type) Apply

func (t Type) Apply(h *vecty.HTML)

type Value

type Value []string

Value is slice of string widths, CSS supports 1 to 4 case 1( width ): top bottom right left = width case 2( w1 w2 ): top bottom = w1, right left = w2 case 3( w1 w2 w3 ): top = w1, right left = w2, bottom = w3 case 4( w1 w2 w3 w4 ) : top = w1, right = w2, bottom = w3, left = w4

func (Value) AddTo

func (v Value) AddTo(m map[string]string)

func (Value) Apply

func (v Value) Apply(h *vecty.HTML)

Jump to

Keyboard shortcuts

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