constructor() {
      super();
      this.deactivateByKey = e => {
        if ((0, _Keys.isEnter)(e)) {
          this.deactivate();
        }
      };
      this.deactivate = () => {
        if (this.active) {
          this.active = false;
        }
      };
      const handleTouchStartEvent = e => {
        this._onmousedown(e);
      };
      this._ontouchstart = {
        handleEvent: handleTouchStartEvent,
        passive: true
      };
    }
@class
A class to serve as a base
for the <code>StandardListItem</code> and <code>CustomListItem</code> classes.

@constructor
@author SAP SE
@alias sap.ui.webc.main.ListItem
@extends sap.ui.webc.main.ListItemBase
@public