onkeypress property

dynamic Function(KeyboardEvent)? get onkeypress

Fires when the user presses an alphanumeric key. @param ev The event. @deprecated

MDN Reference

Implementation

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

Implementation

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