onkeydown property

dynamic Function(KeyboardEvent)? get onkeydown

Fires when the user presses a key. @param ev The keyboard event

MDN Reference

Implementation

_i2.dynamic Function(_i3.KeyboardEvent)? get onkeydown =>
    (_i3.KeyboardEvent p0) => _i4.callMethod(
          _i4.getProperty(
            this,
            'onkeydown',
          ),
          r'call',
          [
            this,
            p0,
          ],
        );
set onkeydown (dynamic value(KeyboardEvent)?)

Implementation

set onkeydown(_i2.dynamic Function(_i3.KeyboardEvent)? value) {
  _i4.setProperty(
    this,
    'onkeydown',
    value == null ? _i6.undefined : _i4.allowInterop(value),
  );
}