onKeyDown property

void Function(KeyboardEvent, List<String>, dynamic, Options)? get onKeyDown

Callback to implement autocomplete on certain keys for example.

Implementation

void Function(
  _i5.KeyboardEvent,
  _i2.List<_i2.String>,
  _i2.dynamic,
  _i3.Options,
)? get onKeyDown => (
      _i5.KeyboardEvent p0,
      _i2.List<_i2.String> p1,
      _i2.dynamic p2,
      _i3.Options p3,
    ) =>
        _i4.callMethod(
          _i4.getProperty(
            this,
            'onKeyDown',
          ),
          r'call',
          [
            this,
            p0,
            p1,
            p2,
            p3,
          ],
        );
set onKeyDown (void value(KeyboardEvent, List<String>, dynamic, Options)?)

Implementation

set onKeyDown(
    void Function(
      _i5.KeyboardEvent,
      _i2.List<_i2.String>,
      _i2.dynamic,
      _i3.Options,
    )? value) {
  _i4.setProperty(
    this,
    'onKeyDown',
    value == null ? _i6.undefined : _i4.allowInterop(value),
  );
}