graphix-package-gui 0.9.0

A dataflow language for UIs and network programming, GUI package
Documentation
type TextInput = {
  disabled: &bool,
  value: &string,
  placeholder: &string,
  on_input: &fn(s: string) -> Any,
  on_submit: &fn(e: null) -> Any,
  is_secure: &bool,
  width: &Length,
  padding: &Padding,
  size: &[f64, null],
  font: &[Font, null]
};

val text_input: fn(
  ?#placeholder: &string,
  ?#on_input: fn(s: string) -> Any,
  ?#on_submit: fn(e: null) -> Any,
  ?#is_secure: &bool,
  ?#width: &Length,
  ?#padding: &Padding,
  ?#size: &[f64, null],
  ?#font: &[Font, null],
  ?#disabled: &bool,
  value: &string
) -> Widget