style

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2020 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Color

func Color(value string) vecty.Applyer

func Height

func Height(size Size) vecty.Applyer

func Margin

func Margin(size Size) vecty.Applyer

func MaxHeight

func MaxHeight(size Size) vecty.Applyer

func MaxWidth

func MaxWidth(size Size) vecty.Applyer

func MinHeight

func MinHeight(size Size) vecty.Applyer

func MinWidth

func MinWidth(size Size) vecty.Applyer

func Overflow

func Overflow(option OverflowOption) vecty.Applyer

func OverflowX

func OverflowX(option OverflowOption) vecty.Applyer

func OverflowY

func OverflowY(option OverflowOption) vecty.Applyer

func Width

func Width(size Size) vecty.Applyer

Types

type OverflowOption

type OverflowOption string
const (
	OverflowVisible OverflowOption = "visible"
	OverflowHidden  OverflowOption = "hidden"
	OverflowScroll  OverflowOption = "scroll"
	OverflowAuto    OverflowOption = "auto"
)

type Size

type Size string

func Px

func Px(pixels int) Size

Jump to

Keyboard shortcuts

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