textarea function

Node textarea({
  1. bool? autofocus,
  2. num? cols,
  3. String? dirname,
  4. bool? disabled,
  5. String? form,
  6. num? maxlength,
  7. String? name,
  8. String? placeholder,
  9. bool? readonly,
  10. bool? required,
  11. num? rows,
  12. String? wrap,
  13. String? id,
  14. dynamic className,
  15. dynamic style,
  16. Map<String, dynamic> p = const {},
  17. Iterable<Node> c = const [],
})

Implementation

Node textarea({
  bool? autofocus,
  num? cols,
  String? dirname,
  bool? disabled,
  String? form,
  num? maxlength,
  String? name,
  String? placeholder,
  bool? readonly,
  bool? required,
  num? rows,
  String? wrap,
  String? id,
  className,
  style,
  Map<String, dynamic> p = const {},
  Iterable<Node> c = const [],
}) =>
    h(
        'textarea',
        _apply([
          p
        ], {
          'autofocus': autofocus,
          'cols': cols,
          'dirname': dirname,
          'disabled': disabled,
          'form': form,
          'maxlength': maxlength,
          'name': name,
          'placeholder': placeholder,
          'readonly': readonly,
          'required': required,
          'rows': rows,
          'wrap': wrap,
          'id': id,
          'class': className,
          'style': style
        }),
        [...c]);