MCPcopy
hub / github.com/g3n/engine / Add

Method Add

gui/dropdown.go:89–92  ·  view source on GitHub ↗

Add adds a list item at the end of the list

(item *ImageLabel)

Source from the content-addressed store, hash-verified

87
88// Add adds a list item at the end of the list
89func (dd *DropDown) Add(item *ImageLabel) {
90
91 dd.list.Add(item)
92}
93
94// InsertAt inserts a list item at the specified position
95// Returs true if the item was successfully inserted

Callers 2

buildDropDownFunction · 0.95
NewDropDownFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected