Documentation
¶
Overview ¶
Package shared provides utilities and common functionality for TreeView v2 examples.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateBasicTreeNodes ¶
CreateBasicTreeNodes creates a simple tree structure for basic examples.
func RunExampleStepsWithDelay ¶
func RunExampleStepsWithDelay(title string, steps []ExampleStep, delaySeconds int)
RunExampleStepsWithDelay runs a series of example steps with a title and custom delay. The delay parameter specifies seconds between steps (0 for no delay).
func WaitDelay ¶
func WaitDelay(defaultDelay float64)
WaitDelay waits for the specified number of seconds
func WaitDelayThenClearTerminal ¶
func WaitDelayThenClearTerminal(seconds float64)
ClearTerminal clears the terminal screen
Types ¶
type ExampleStep ¶
ExampleStep represents a single step in an example.
Click to show internal directories.
Click to hide internal directories.