placeholder_txt

Function placeholder_txt 

Source
pub fn placeholder_txt(child: impl IntoUiNode, txt: impl IntoVar<Txt>) -> 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.