Documentation ¶
Overview ¶
Page package implements creation of pages.
Index ¶
- func New(ps ...properties.PageNumber) core.Page
- type Page
- func (p *Page) Add(rows ...core.Row) core.Page
- func (p *Page) GetNumber() int
- func (p *Page) GetRows() []core.Row
- func (p *Page) GetStructure() *node.Node[core.Structure]
- func (p *Page) Render(provider core.Provider, cell entity.Cell)
- func (p *Page) SetConfig(config *entity.Config)
- func (p *Page) SetNumber(number int, total int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(ps ...properties.PageNumber) core.Page
New is responsible to create a core.Page.
Types ¶
type Page ¶
type Page struct {
// contains filtered or unexported fields
}
func (*Page) GetStructure ¶
GetStructure returns the Structure of a Page.
Click to show internal directories.
Click to hide internal directories.