{
  "schema_version": "1.0.0",
  "classes": [
    {
      "description": "`simple-modal`\n`A simple modal that ensures accessibility and stack order context appropriately`\n\n### Styling\n `<simple-fields>` provides following custom properties\n for styling:\n \n Custom property | Description | Default\n ----------------|-------------|--------\n --simple-modal-resize | whether modal can be resized by user (see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/resize}) | unset\n --simple-modal-titlebar-color | height for modal's titlebar | #444\n --simple-modal-titlebar-background | background color for modal's titlebar | #ddd\n --simple-modal-titlebar-padding | padding for modal's titlebar | 0px 16px\n --simple-modal-titlebar-height | height for modal's titlebar | unset\n --simple-modal-titlebar-line-height | text's line height for modal's titlebar | unset\n --simple-modal-header-color | text color for modal's header | #222\n --simple-modal-header-background | background color for modal's header | #ccc\n --simple-modal-header-padding | padding for modal's header | 0px 16px\n --simple-modal-content-container-color | text color for modal's content | #222;\n --simple-modal-content-container-background | text color for modal's content | #fff \n --simple-modal-content-padding | text color for modal's content | 8px 16px\n --simple-modal-buttons-color | text color for modal's buttons | unset\n --simple-modal-buttons-background | background color for modal's buttons | unset\n --simple-modal-buttons-padding | padding for modal's buttons | 0\n --simple-modal-button-color | text color for modal's buttons | var(--simple-modal-buttons-color)\n --simple-modal-button-background | background color for modal's buttons | var(--simple-modal-buttons-background-color)\n --simple-modal-z-index | z-index for modal | 1000\n --simple-modal-width | width of modal | 75vw\n --simple-modal-height | height of modal | auto;\n --simple-modal-min-width | min-width of modal | unset\n --simple-modal-min-height | min-height of modal | unset\n --simple-modal-max-width | max-width of modal | unset\n --simple-modal-max-height | max-height of modal | unset",
      "summary": "",
      "path": "simple-modal.js",
      "properties": [],
      "methods": [
        {
          "name": "render",
          "description": "",
          "privacy": "public",
          "sourceRange": {
            "start": {
              "line": 212,
              "column": 2
            },
            "end": {
              "line": 252,
              "column": 3
            }
          },
          "metadata": {},
          "params": []
        },
        {
          "name": "updated",
          "description": "LitElement",
          "privacy": "public",
          "sourceRange": {
            "start": {
              "line": 328,
              "column": 2
            },
            "end": {
              "line": 334,
              "column": 3
            }
          },
          "metadata": {},
          "params": [
            {
              "name": "changedProperties"
            }
          ],
          "return": {
            "type": "void"
          }
        },
        {
          "name": "connectedCallback",
          "description": "HTMLElement",
          "privacy": "public",
          "sourceRange": {
            "start": {
              "line": 338,
              "column": 2
            },
            "end": {
              "line": 351,
              "column": 3
            }
          },
          "metadata": {},
          "params": [],
          "return": {
            "type": "void"
          }
        },
        {
          "name": "disconnectedCallback",
          "description": "HTMLElement",
          "privacy": "public",
          "sourceRange": {
            "start": {
              "line": 355,
              "column": 2
            },
            "end": {
              "line": 358,
              "column": 3
            }
          },
          "metadata": {},
          "params": [],
          "return": {
            "type": "void"
          }
        },
        {
          "name": "showEvent",
          "description": "show event call to open the modal and display it's content",
          "privacy": "public",
          "sourceRange": {
            "start": {
              "line": 363,
              "column": 2
            },
            "end": {
              "line": 404,
              "column": 3
            }
          },
          "metadata": {},
          "params": [
            {
              "name": "e"
            }
          ],
          "return": {
            "type": "void"
          }
        },
        {
          "name": "show",
          "description": "Show the modal and display the material",
          "privacy": "public",
          "sourceRange": {
            "start": {
              "line": 408,
              "column": 2
            },
            "end": {
              "line": 456,
              "column": 3
            }
          },
          "metadata": {},
          "params": [
            {
              "name": "title"
            },
            {
              "name": "mode"
            },
            {
              "name": "elements"
            },
            {
              "name": "invokedBy"
            },
            {
              "name": "id",
              "defaultValue": "null"
            },
            {
              "name": "modalClass",
              "defaultValue": "null"
            },
            {
              "name": "styles",
              "defaultValue": "null"
            },
            {
              "name": "clone",
              "defaultValue": "false"
            },
            {
              "name": "modal",
              "defaultValue": "false"
            }
          ],
          "return": {
            "type": "void"
          }
        },
        {
          "name": "close",
          "description": "Close the modal and do some clean up",
          "privacy": "public",
          "sourceRange": {
            "start": {
              "line": 460,
              "column": 2
            },
            "end": {
              "line": 467,
              "column": 3
            }
          },
          "metadata": {},
          "params": [],
          "return": {
            "type": "void"
          }
        },
        {
          "name": "open",
          "description": "",
          "privacy": "public",
          "sourceRange": {
            "start": {
              "line": 468,
              "column": 2
            },
            "end": {
              "line": 499,
              "column": 3
            }
          },
          "metadata": {},
          "params": [],
          "return": {
            "type": "void"
          }
        },
        {
          "name": "_openedChanged",
          "description": "Observer opened for changes",
          "privacy": "protected",
          "sourceRange": {
            "start": {
              "line": 501,
              "column": 2
            },
            "end": {
              "line": 567,
              "column": 3
            }
          },
          "metadata": {},
          "params": [
            {
              "name": "newValue"
            }
          ],
          "return": {
            "type": "void"
          }
        },
        {
          "name": "_getAriaLabelledby",
          "description": "If there is a title, aria-labelledby should point to #simple-modal-title",
          "privacy": "protected",
          "sourceRange": {
            "start": {
              "line": 571,
              "column": 2
            },
            "end": {
              "line": 573,
              "column": 3
            }
          },
          "metadata": {},
          "params": [
            {
              "name": "title"
            }
          ]
        },
        {
          "name": "_getAriaLabel",
          "description": "If there is no title, supply a generic aria-label",
          "privacy": "protected",
          "sourceRange": {
            "start": {
              "line": 577,
              "column": 2
            },
            "end": {
              "line": 579,
              "column": 3
            }
          },
          "metadata": {},
          "params": [
            {
              "name": "title"
            }
          ]
        }
      ],
      "staticMethods": [],
      "demos": [
        {
          "url": "./demo/index.html",
          "description": "demo"
        },
        {
          "url": "./demo/css.html",
          "description": "styling simple-modal via CSS"
        },
        {
          "url": "./demo/details.html",
          "description": "styling simple-modal via event details"
        },
        {
          "url": "./demo/template.html",
          "description": "using simple-modal-template"
        },
        {
          "url": "./demo/index.html",
          "description": "demo"
        },
        {
          "url": "./demo/css.html",
          "description": "styling simple-modal via CSS"
        },
        {
          "url": "./demo/details.html",
          "description": "styling simple-modal via event details"
        },
        {
          "url": "./demo/template.html",
          "description": "using simple-modal-template"
        }
      ],
      "metadata": {},
      "sourceRange": {
        "start": {
          "line": 77,
          "column": 0
        },
        "end": {
          "line": 580,
          "column": 1
        }
      },
      "privacy": "public",
      "superclass": "LitElement",
      "name": "SimpleModal"
    }
  ]
}
