Documentation
¶
Overview ¶
Package splashscreen keeps the launch screen's color up until your first screen has what it needs, so the app doesn't flash empty.
nimbus native plugin add splash-screen
ui.Effect(c, func(ctx context.Context) func() {
go func() {
load(ctx)
splashscreen.Hide(ctx)
}()
return nil
}, ui.Once)
It hides by itself after 10 seconds, so a bug can't leave the app stuck.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.