MCPcopy
hub / github.com/botui/botui / TextObject

Interface TextObject

typings/index.d.ts:127–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125 * @interface TextObject
126 */
127export interface TextObject {
128 /**
129 * Size of the input to show. Relies on HTML size attribute for input elements.
130 *
131 * @type {number}
132 * @memberof TextObject
133 */
134 size?: number;
135 /**
136 * Could be any of the valid types for HTML input elements. e.g.: number, tel, time, date, email, etc.
137 *
138 * @type {string}
139 * @memberof TextObject
140 */
141 sub_type?: string;
142 /**
143 * Pre-populates the text field. Only for 'text' type.
144 *
145 * @type {string}
146 * @memberof TextObject
147 */
148 value: string;
149 /**
150 * Sets the placeholder text for the input element.
151 *
152 * @type {string}
153 * @memberof TextObject
154 */
155 placeholder?: string;
156}
157
158/**
159 * Button object

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…