{
  "version": "experimental",
  "tags": [
    {
      "name": "ef-dialog",
      "description": "Popup window, designed to contain and show any HTML content.\nIt provides modal and dragging functionality,\nand also allows custom footers and control buttons to be used.",
      "attributes": [
        {
          "name": "header",
          "description": "Set Header/Title of the dialog",
          "type": "string | null"
        },
        {
          "name": "draggable",
          "description": "Should the dialog be draggable",
          "type": "boolean",
          "default": "false"
        },
        {
          "name": "opened",
          "description": "Set dialog to open",
          "type": "boolean",
          "default": "false"
        },
        {
          "name": "no-cancel-on-esc-key",
          "description": "Prevents dialog to close when user presses ESC key",
          "type": "boolean",
          "default": "false"
        },
        {
          "name": "x",
          "description": "Set a specific x coordinate of dialog",
          "type": "string | undefined"
        },
        {
          "name": "y",
          "description": "Set a specific y coordinate of dialog",
          "type": "string | undefined"
        },
        {
          "name": "full-screen",
          "description": "Set dialog to full screen",
          "type": "boolean",
          "default": "false"
        },
        {
          "name": "position-target",
          "description": "Set position of dialog i.e. `top`, `right`, `left`, `bottom`, `center` or combination of theme e.g. `top right`.",
          "type": "string | undefined"
        },
        {
          "name": "no-cancel-on-esc-key",
          "description": "Prevents dialog to close when user presses ESC key",
          "type": "boolean",
          "default": "false"
        },
        {
          "name": "full-screen",
          "description": "Set dialog to full screen",
          "type": "boolean"
        },
        {
          "name": "position-target",
          "description": "Set position of dialog i.e. `top`, `right`, `left`, `bottom`, `center` or combination of theme e.g. `top right`.",
          "type": "string | undefined"
        }
      ],
      "properties": [
        {
          "name": "header",
          "attribute": "header",
          "description": "Set Header/Title of the dialog",
          "type": "string | null"
        },
        {
          "name": "draggable",
          "attribute": "draggable",
          "description": "Should the dialog be draggable",
          "type": "boolean",
          "default": "false"
        },
        {
          "name": "noCancelOnOutsideClick",
          "description": "Close dialog when user clicked outside the dialog",
          "type": "boolean",
          "default": "true"
        },
        {
          "name": "opened",
          "attribute": "opened",
          "description": "Set dialog to open",
          "type": "boolean",
          "default": "false"
        },
        {
          "name": "noCancelOnEscKey",
          "attribute": "no-cancel-on-esc-key",
          "description": "Prevents dialog to close when user presses ESC key",
          "type": "boolean",
          "default": "false"
        },
        {
          "name": "x",
          "attribute": "x",
          "description": "Set a specific x coordinate of dialog",
          "type": "string | undefined"
        },
        {
          "name": "y",
          "attribute": "y",
          "description": "Set a specific y coordinate of dialog",
          "type": "string | undefined"
        },
        {
          "name": "fullScreen",
          "attribute": "full-screen",
          "description": "Set dialog to full screen",
          "type": "boolean",
          "default": "false"
        },
        {
          "name": "positionTarget",
          "attribute": "position-target",
          "description": "Set position of dialog i.e. `top`, `right`, `left`, `bottom`, `center` or combination of theme e.g. `top right`.",
          "type": "string | undefined"
        }
      ],
      "events": [
        {
          "name": "opened-changed",
          "description": "Fired when the user changes open state of the dialog e.g. when the user presses escape key or uses close button to close the dialog. The event is not triggered if `opened` property is changed programmatically."
        },
        {
          "name": "confirm",
          "description": "Fired when dialog is closed by user clicked a default OK button. Prevent default to stop default action"
        },
        {
          "name": "cancel",
          "description": "Fired when dialog is closed by user clicked a default Cancel button, clicked outside to close dialog or press ESC to close the dialog. Prevent default to stop default action"
        }
      ],
      "slots": [
        {
          "name": "footer",
          "description": "Hide default OK and Cancel button and replace dialog's footer with your custom content."
        }
      ],
      "methods": [
        {
          "name": "refit",
          "description": "Clear all cached values and fit the popup.",
          "params": []
        }
      ]
    }
  ]
}