Function zng_wgt_text_input::placeholder_txt

source ยท
pub fn placeholder_txt(
    child: impl UiNode,
    txt: impl IntoVar<Txt>,
) -> impl UiNode
Expand description

P Text shown when the txt is empty.

The placeholder has the same text style as the parent widget, with 50% opacity. You can use the placeholder to use a custom widget placeholder.