grid

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2020 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Box

func Box(x, y, w, h int) css.Rules

Box sets the position and size of this seed in relation to a parent grid.

func New

func New(options ...seed.Option) seed.Seed

New returns a new grid.

func Pos

func Pos(x, y int) css.Rules

Pos sets the position of this seed in relation to a parent grid.

func SetGap

func SetGap(gap units.Unit) css.Rules

SetGap sets the gap between cells.

func SetSize

func SetSize(w, h int, cw, ch units.Unit) css.Rules

SetSize sets the size of the grid and the size of its cells.

Types

This section is empty.

Jump to

Keyboard shortcuts

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