OverrideCreateInputFunction typedef

  1. @visibleForTesting
OverrideCreateInputFunction = HTMLInputElement Function(String? accept, String? capture)

A function that creates a file input with the passed in accept and capture attributes.

Implementation

@visibleForTesting
typedef OverrideCreateInputFunction = web.HTMLInputElement Function(
  String? accept,
  String? capture,
);