Skip to main content

euv_input

Function euv_input 

Source
pub fn euv_input(node: VirtualNode<EuvInputProps>) -> VirtualNode
Expand description

A custom input component with label and event handling.

Internally binds onfocus and onblur so that mobile virtual keyboards never obscure the field. The label is optional — leave it empty to render an input without a label.

§Arguments

  • VirtualNode<EuvInputProps> - The props node containing id, label, placeholder, value, autocomplete, etc.

§Returns

  • VirtualNode - A labeled input element.