MCPcopy
hub / github.com/plotly/dash / prepend

Method prepend

dash/_patch.py:131–133  ·  view source on GitHub ↗

Add the item to the start of a list

(self, item: Any)

Source from the content-addressed store, hash-verified

129 self._operations.append(_operation("Append", self._location, value=item))
130
131 def prepend(self, item: Any) -> None:
132 """Add the item to the start of a list"""
133 self._operations.append(_operation("Prepend", self._location, value=item))
134
135 def insert(self, index: int, item: Any) -> None:
136 """Add the item at the index of a list"""

Callers 2

on_clickFunction · 0.95

Calls 2

_operationFunction · 0.85
appendMethod · 0.45

Tested by 2

on_clickFunction · 0.76