BeginSkeleton#
func BeginSkeleton(canvas *ui.Canvas, theme ui.Theme, bounds ui.Rect) SkeletonBeginSkeleton starts a neutral placeholder declaration.
API 文档由 Go 源码生成,内容为英文。
type Skeleton struct {
// contains filtered or unexported fields
}Skeleton is one static loading placeholder. It intentionally has no timer or shimmer worker: applications that want animation must explicitly schedule it.
BeginSkeleton#func BeginSkeleton(canvas *ui.Canvas, theme ui.Theme, bounds ui.Rect) SkeletonBeginSkeleton starts a neutral placeholder declaration.
Circle#func (skeleton Skeleton) Circle() SkeletonCircle makes the placeholder circular within the shorter bound.
Paint#func (skeleton Skeleton) Paint()Paint emits one quiet neutral surface and no interaction region.
Phase#func (skeleton Skeleton) Phase(phase float32) SkeletonPhase explicitly supplies a repeating 0..1 animation phase. The component never schedules frames itself; callers opt into animation and repaint only while a loading transition is active.
Radius#func (skeleton Skeleton) Radius(radius float32) SkeletonRadius overrides the corner radius.