Updated Align API (markdown)

Jakub Sobon 2019-03-02 18:34:23 -05:00
parent b497ddf1e6
commit aea660f7ae
1 changed files with 3 additions and 3 deletions

@ -2,13 +2,13 @@
[![Doc Status](https://godoc.org/github.com/mum4k/termdash/align?status.png)](https://godoc.org/github.com/mum4k/termdash/align) [![Doc Status](https://godoc.org/github.com/mum4k/termdash/align?status.png)](https://godoc.org/github.com/mum4k/termdash/align)
The [align](https://github.com/mum4k/termdash/tree/master/align) package exposes types that specify the alignment of elements. The [align](https://godoc.org/github.com/mum4k/termdash/align) package exposes types that specify the alignment of elements.
This is a data-only package which provides types that are accepted by the infrastructure and widgets in multiple locations. This is a data-only package which provides types that are accepted by the infrastructure and widgets in multiple locations.
The public API surface of this package consists of the following: The public API surface of this package consists of the following:
## [align.Horizontal](https://github.com/mum4k/termdash/blob/1a7bcf40e818109611d0b8a49b5994085a20b479/align/align.go#L18-L19) ## [align.Horizontal](https://godoc.org/github.com/mum4k/termdash/align#Horizontal)
The **align.Horizontal** specifies the horizontal alignment of an element. The package provides predefined values for the following alignments: The **align.Horizontal** specifies the horizontal alignment of an element. The package provides predefined values for the following alignments:
@ -16,7 +16,7 @@ The **align.Horizontal** specifies the horizontal alignment of an element. The p
- Center. - Center.
- Right. - Right.
## [align.Vertical](https://github.com/mum4k/termdash/blob/1a7bcf40e818109611d0b8a49b5994085a20b479/align/align.go#L45-L46) ## [align.Vertical](https://godoc.org/github.com/mum4k/termdash/align#Vertical)
The **align.Vertical** specifies the vertical alignment of an element. The package provides predefined values for the following alignments: The **align.Vertical** specifies the vertical alignment of an element. The package provides predefined values for the following alignments: