Function zng_wgt_text_input::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.