Text Area#
- class marimo.ui.text_area(value: str = '', placeholder: str = '', *, label: str = '')#
A text area that is larger than
ui.text.Example.
text_area = mo.ui.text_area()
Attributes.
value: a string of the text area contents
Initialization Args.
value: initial value of the text areaplaceholder: placeholder text to display when the text area is emptylabel: text label for the element
Public methods
Inherited from
UIElementform([label])Create a submittable form out of this
UIElement.Inherited from
Htmlbatch(**elements)Convert an HTML object with templated text into a UI element.
center()Center an item.
right()Right-justify.
left()Left-justify.
callout([kind])Create a callout containing this HTML element.
Public Data Attributes:
Inherited from
UIElementvalueThe element’s current value.
Inherited from
HtmltextA string of HTML representing this element.