charCode property - KeyEvent class - dart:html library (original) (raw)

description

int getcharCode

override

Calculated value of what the estimated charCode is for this event.

Implementation

int get charCode => this.type == 'keypress' ? _shadowCharCode : 0;