page

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClickClientData

type ClickClientData struct {
	SelectedRowID string
	DataRef       list.MoreOpItem
}

type List

type List struct {
	base.DefaultProvider
	impl.DefaultList
	PageNo   uint64
	PageSize uint64
	Total    uint64
	State    cptype.ExtraMap
	Bdl      *bundle.Bundle
	Sdk      *cptype.SDK
}

func (*List) BeforeHandleOp

func (p *List) BeforeHandleOp(sdk *cptype.SDK)

func (*List) Init

func (p *List) Init(ctx servicehub.Context) error

func (*List) RegisterBatchOp

func (p *List) RegisterBatchOp(opData list.OpBatchRowsHandle) (opFunc cptype.OperationFunc)

func (*List) RegisterChangePage

func (p *List) RegisterChangePage(opData list.OpChangePage) (opFunc cptype.OperationFunc)

func (*List) RegisterInitializeOp

func (p *List) RegisterInitializeOp() (opFunc cptype.OperationFunc)

func (*List) RegisterItemClickGotoOp

func (p *List) RegisterItemClickGotoOp(opData list.OpItemClickGoto) (opFunc cptype.OperationFunc)

func (*List) RegisterItemClickOp

func (p *List) RegisterItemClickOp(opData list.OpItemClick) (opFunc cptype.OperationFunc)

func (*List) RegisterItemStarOp

func (p *List) RegisterItemStarOp(opData list.OpItemStar) (opFunc cptype.OperationFunc)

func (*List) RegisterRenderingOp

func (p *List) RegisterRenderingOp() (opFunc cptype.OperationFunc)

type Page

type Page struct {
	PageSize uint64
	PageNo   uint64
}

Jump to

Keyboard shortcuts

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