Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Offset ¶
Offset creates a modifier that translates the element by the given X and Y offset. This is useful for creating overlapping layouts like profile cards with avatars.
Types ¶
type OffsetData ¶
OffsetData holds the X and Y offset values
type OffsetElement ¶
type OffsetElement struct {
// contains filtered or unexported fields
}
func (*OffsetElement) Create ¶
func (e *OffsetElement) Create() node.Node
func (*OffsetElement) Update ¶
func (e *OffsetElement) Update(n node.Node)
type OffsetNode ¶
func NewOffsetNode ¶
func NewOffsetNode(data OffsetData) *OffsetNode
Click to show internal directories.
Click to hide internal directories.