mirror of https://github.com/rivo/tview.git
Update Flex.Clear() documentation
This commit is contained in:
parent
37b143d5fa
commit
016b6bd9e3
2
flex.go
2
flex.go
|
@ -101,7 +101,7 @@ func (f *Flex) RemoveItem(p Primitive) *Flex {
|
||||||
return f
|
return f
|
||||||
}
|
}
|
||||||
|
|
||||||
// Clear removes all items from the flexbox
|
// Clear removes all items from the container.
|
||||||
func (f *Flex) Clear() *Flex {
|
func (f *Flex) Clear() *Flex {
|
||||||
f.items = nil
|
f.items = nil
|
||||||
return f
|
return f
|
||||||
|
|
Loading…
Reference in New Issue