Back to API Reference
Class

PlaceholderDecorator

sealed

Shows a target while the field is empty and hides it once there is text. The classic placeholder.

public UniTextBase Target{ get; set }

Text object shown only while the edited document is empty.

protected override void OnAttach()
protected override void OnFieldState()
protected override void OnDetach()