Module RichInput
Druid Rich Input custom component.
It's wrapper on Input component with cursor and placeholder text
Functions
| init(self, template, nodes) | The RichInput constructor |
| set_placeholder(self, placeholder_text) | Set placeholder text |
Fields
| cursor | On input field text change to empty string callback(self, input_text) |
| druid | The component druid instance |
| input | On input field text change callback(self, input_text) |
| placeholder | On input field text change to max length string callback(self, input_text) |
| root | Root node |
Functions
- init(self, template, nodes)
-
The RichInput constructor
Parameters:
- set_placeholder(self, placeholder_text)
-
Set placeholder text
Parameters:
Fields
- cursor
-
On input field text change to empty string callback(self, input_text)
- cursor node
- druid
-
The component druid instance
- druid DruidInstance DruidInstance
- input
-
On input field text change callback(self, input_text)
- input Input Input
- placeholder
-
On input field text change to max length string callback(self, input_text)
- placeholder druid.text Text
- root
-
Root node
- root node