zng_wgt_text_input

Function placeholder

Source
pub fn placeholder(child: impl UiNode, placeholder: impl UiNode) -> impl UiNode
Expand description

P Widget shown when the txt is empty.

The placeholder can be any widget, the Text! widget is recommended.