onlyNumbers() {
    Array.prototype.slice.call(this.onlynumbers, 0).forEach((e) => {
      e.addEventListener('keypress', (evt) => {
        this.isNumber(evt);
      }, false);
    });
  }
/**
   * Add event listener to all fields with meta data [data-onlynumbers]
   * @method
   */
Add event listener to all fields with meta data [data-onlynumbers]
@method
Add event listener to all fields with meta data [ data - onlynumbers ] @method
onlyNumbers() {
    Array.prototype.slice.call(this.onlynumbers, 0).forEach((e) => {
      e.addEventListener('keypress', (evt) => {
        this.isNumber(evt);
      }, false);
    });
  }
onlyNumbers ( ) { Array . prototype . slice . call ( this . onlynumbers , 0 ) . forEach ( ( e ) => { e . addEventListener ( 'keypress' , ( evt ) => { this . isNumber ( evt ) ; } , false ) ; } ) ; }
Add event listener to all fields with meta data [data-onlynumbers]
 @method
Add event listener to all fields with meta data [ data - onlynumbers ] @method