import { Component, h, Host, Prop, State } from '@stencil/core';
export class AkordImageViewer {
  constructor() {
    this.darkMode = false;
  }
  render() {
    return (h(Host, { onMouseDown: () => console.log("fasdfasd"), style: { display: 'block', textAlign: '-webkit-center' } },
      h("div", { class: this.containerClass },
        h("img", { src: this.src, style: { height: `${this.height}px` }, class: this.darkMode ? 'dark-mode' : 'light-mode' }))));
  }
  static get is() { return "akord-image-viewer"; }
  static get originalStyleUrls() { return {
    "$": ["akord-image-viewer.scss"]
  }; }
  static get styleUrls() { return {
    "$": ["akord-image-viewer.css"]
  }; }
  static get properties() { return {
    "src": {
      "type": "string",
      "mutable": false,
      "complexType": {
        "original": "string",
        "resolved": "string",
        "references": {}
      },
      "required": false,
      "optional": false,
      "docs": {
        "tags": [],
        "text": ""
      },
      "attribute": "src",
      "reflect": false
    },
    "height": {
      "type": "number",
      "mutable": false,
      "complexType": {
        "original": "number",
        "resolved": "number",
        "references": {}
      },
      "required": false,
      "optional": false,
      "docs": {
        "tags": [],
        "text": ""
      },
      "attribute": "height",
      "reflect": false
    },
    "width": {
      "type": "number",
      "mutable": false,
      "complexType": {
        "original": "number",
        "resolved": "number",
        "references": {}
      },
      "required": false,
      "optional": false,
      "docs": {
        "tags": [],
        "text": ""
      },
      "attribute": "width",
      "reflect": false
    },
    "darkMode": {
      "type": "boolean",
      "mutable": false,
      "complexType": {
        "original": "boolean",
        "resolved": "boolean",
        "references": {}
      },
      "required": false,
      "optional": false,
      "docs": {
        "tags": [],
        "text": ""
      },
      "attribute": "dark-mode",
      "reflect": false,
      "defaultValue": "false"
    },
    "containerClass": {
      "type": "string",
      "mutable": false,
      "complexType": {
        "original": "string",
        "resolved": "string",
        "references": {}
      },
      "required": false,
      "optional": false,
      "docs": {
        "tags": [],
        "text": "Container class name\n{string}"
      },
      "attribute": "container-class",
      "reflect": false
    }
  }; }
  static get states() { return {
    "texture": {},
    "isLoading": {}
  }; }
}
