import { Component, Element, h, Host, Listen, Prop } from '@stencil/core';
export class DvnDraggableBox {
  dragStart(event) {
    this.onDragStart(event);
  }
  dragEnd(event) {
    this.onDragEnd(event);
  }
  render() {
    return (h(Host, { draggable: "true", style: { display: 'block' } },
      h("slot", null)));
  }
  static get is() { return "dvn-draggable-box"; }
  static get properties() { return {
    "onDragStart": {
      "type": "unknown",
      "mutable": false,
      "complexType": {
        "original": "(e: DragEvent) => void",
        "resolved": "(e: DragEvent) => void",
        "references": {
          "DragEvent": {
            "location": "global"
          }
        }
      },
      "required": false,
      "optional": false,
      "docs": {
        "tags": [],
        "text": ""
      }
    },
    "onDragEnd": {
      "type": "unknown",
      "mutable": false,
      "complexType": {
        "original": "(e: DragEvent) => void",
        "resolved": "(e: DragEvent) => void",
        "references": {
          "DragEvent": {
            "location": "global"
          }
        }
      },
      "required": false,
      "optional": false,
      "docs": {
        "tags": [],
        "text": ""
      }
    }
  }; }
  static get elementRef() { return "el"; }
  static get listeners() { return [{
      "name": "dragstart",
      "method": "dragStart",
      "target": undefined,
      "capture": false,
      "passive": true
    }, {
      "name": "dragend",
      "method": "dragEnd",
      "target": undefined,
      "capture": false,
      "passive": true
    }]; }
}
