text: import { createThemedClasses } from '../../utils/theme';
  export class List {
      constructor() {
          this.inset = false;
      }
      async closeSlidingItems() {
          const item = this.el.querySelector('ion-item-sliding');
          if (item && item.closeOpened) {
              return item.closeOpened();
          }
          return false;
      }
      hostData() {
          return {
              class: Object.assign({}, createThemedClasses(this.mode, 'list'), { [`list-lines-${this.lines}`]: !!this.lines, 'list-inset': this.inset, [`list-${this.mode}-lines-${this.lines}`]: !!this.lines })
          };
      }
      static get is() { return "ion-list"; }
      static get properties() { return {
          "closeSlidingItems": {
              "method": true
          },
          "el": {
              "elementRef": true
          },
          "inset": {
              "type": Boolean,
              "attr": "inset"
          },
          "lines": {
              "type": String,
              "attr": "lines"
          },
          "mode": {
              "type": String,
              "attr": "mode"
          }
      }; }
      static get style() { return "/**style-placeholder:ion-list:**/"; }
      static get styleMode() { return "/**style-id-placeholder:ion-list:**/"; }
  }
  