onfocus property

dynamic Function(FocusEvent)? get onfocus

Fires when the object receives focus. @param ev The event.

MDN Reference

Implementation

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

Implementation

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