MCPcopy Index your code
hub / github.com/box-cli-maker/box-cli-maker / TitlePosition

Method TitlePosition

box.go:197–200  ·  view source on GitHub ↗

TitlePosition sets where the title is rendered relative to the box. Valid positions are box.Inside, box.Top, and box.Bottom.

(pos TitlePosition)

Source from the content-addressed store, hash-verified

195//
196// Valid positions are box.Inside, box.Top, and box.Bottom.
197func (b *Box) TitlePosition(pos TitlePosition) *Box {
198 b.titlePos = pos
199 return b
200}
201
202// WrapContent enables or disables automatic wrapping of content.
203//

Callers 11

TestBoxCopyFunction · 0.80
TestRenderTitlePositionsFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80

Calls

no outgoing calls

Tested by 4

TestBoxCopyFunction · 0.64
TestRenderTitlePositionsFunction · 0.64