MCPcopy
hub / github.com/mum4k/termdash / CellOpts

Function CellOpts

widgets/donut/options.go:132–136  ·  view source on GitHub ↗

CellOpts sets cell options on cells that contain the donut.

(cOpts ...cell.Option)

Source from the content-addressed store, hash-verified

130
131// CellOpts sets cell options on cells that contain the donut.
132func CellOpts(cOpts ...cell.Option) Option {
133 return option(func(opts *options) {
134 opts.cellOpts = cOpts
135 })
136}
137
138// DefaultStartAngle is the default value for the StartAngle option.
139const DefaultStartAngle = 90

Callers 7

newDashboardTabFunction · 0.92
newVisualizeTabFunction · 0.92
newExplorerWidgetsFunction · 0.92
mainFunction · 0.92
newTelemetryTabsFunction · 0.92
mainFunction · 0.92
TestDonutFunction · 0.70

Calls 1

optionFuncType · 0.70

Tested by 1

TestDonutFunction · 0.56