flex

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AlignContent

func AlignContent(elm *dom.Element, side string, vs ...string) *dom.Element

AlignContent add align content style to element.

func AlignItems

func AlignItems(elm *dom.Element, side string, vs ...string) *dom.Element

AlignItems applies aligning items style on element.

func Apply

func Apply(elm *dom.Element, vs ...string) *dom.Element

Apply applies Bootstrap d-flex-*.

func ApplyInline

func ApplyInline(elm *dom.Element, vs ...string) *dom.Element

ApplyInline applies Bootstrap d-inline-flex-*.

func ChildAlign

func ChildAlign(child *dom.Element, side string, vs ...string) *dom.Element

ChildAlign applies aligning self styel on child element in flexbox.

func ChildFill

func ChildFill(child *dom.Element, vs ...string) *dom.Element

ChildFill applies fill style on child element in flexbox.

func Column

func Column(elm *dom.Element, reverse bool, vs ...string) *dom.Element

Column applies flex column style on element.

func Justify

func Justify(elm *dom.Element, side string, vs ...string) *dom.Element

Justify applies flex justifing content style on element.

func New

func New(vs ...string) *bs.Component

New returns flex box.

func NewInline

func NewInline(vs ...string) *bs.Component

NewInline returns flex inline box.

func NoWrap

func NoWrap(elm *dom.Element, reverse bool, vs ...string) *dom.Element

NoWrap add nowrap style to element.

func Reverse

func Reverse(elm *dom.Element, row bool, vs ...string) *dom.Element

Reverse applies flex reverse style on element.

func Wrap

func Wrap(elm *dom.Element, reverse bool, vs ...string) *dom.Element

Wrap add wrap style to element.

Types

This section is empty.

Jump to

Keyboard shortcuts

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