static on (event, handler) {
    const events = Array.isArray(event) ? event : [event]

    events.forEach(name => Model.$config.events.on(
      trimStart(`${this.jsonApiType()}.${name}`, '.'),
      handler
    ))
  }
/**
   * Add event handlers
   * @param event
   * @param handler
   */
Add event handlers
@param event
@param handler
Add event handlers @param event @param handler
static on (event, handler) {
    const events = Array.isArray(event) ? event : [event]
    events.forEach(name => Model.$config.events.on(
      trimStart(`${this.jsonApiType()}.${name}`, '.'),
      handler
    ))
  }
static on ( event , handler ) { const events = Array . isArray ( event ) ? event : [ event ] events . forEach ( name => Model . $config . events . on ( trimStart ( ` ${ this . jsonApiType ( ) } ${ name } ` , '.' ) , handler ) ) }
Add event handlers
 @param event
 @param handler
Add event handlers @param event @param handler