Input constructor

Input(
  1. dynamic value
)

The <input> HTML element is used to create interactive controls for web-based forms in order to accept data from the user. Read more...

Implementation

Input(dynamic value) {
  tag = 'input';

  /// The initial value of the control.
  /// [Read more...](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#value)
  VirtualAttr attr = VirtualAttr('value', value.toString());
  node.attrs!.add(attr);
}