Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConsumeKey ¶
Dummy key handler that consumes the event and does nothing.
func ConsumeMouse ¶
Dummy mouse handler that consumes the event and does nothing.
Types ¶
type Fragment ¶
type Fragment interface { object.Component Render() node.T Slot() string Position() FragmentPosition }
A Fragment contains a UI subtree to be rendered as a child of a given element
func NewFragment ¶
func NewFragment(pool object.Pool, args FragmentArgs) Fragment
type FragmentArgs ¶
type FragmentArgs struct { Slot string Position FragmentPosition Render node.RenderFunc }
type FragmentPosition ¶
type FragmentPosition int
const FragmentFirst FragmentPosition = 1
const FragmentLast FragmentPosition = 0
Click to show internal directories.
Click to hide internal directories.