{
  "id": "@typed/ui/Dialog#CloseOptions",
  "canonicalId": "@typed/ui/Dialog#CloseOptions",
  "symbol": {
    "id": "@typed/ui/Dialog#CloseOptions",
    "packageName": "@typed/ui",
    "moduleName": "Dialog",
    "exportName": "CloseOptions",
    "kind": "interface",
    "signatures": [
      "export interface CloseOptions extends Dom.HostOptions<HTMLButtonElement> {\n    readonly state: RefSubject.HydratedRefSubject<State, Schema.SchemaError>;\n    readonly controls?: string;\n    readonly content: Renderable.Any;\n}"
    ],
    "summary": "Options for dialog close and close-request buttons.",
    "sections": {
      "Why": "Supplying `controls` selects native commands and removes the Fx click\nfallback, requiring command-attribute browser support. Omitting it keeps the\nstate-driven close or request-close handler.",
      "Ownership and lifetime": "Options are inert; rendering owns listeners and dynamic content by Scope.",
      "Property: content": "Visible button content and accessible name.",
      "Property: content: Why": "Every close action needs a discoverable label.",
      "Property: content: Ownership and lifetime": "Dynamic content follows the button Scope.",
      "Property: controls": "Dialog id targeted by native command attributes.",
      "Property: controls: Why": "Native command routing preserves the dialog's platform lifecycle, but\nselecting it omits the component's click fallback. Use it only where\n`commandfor` and the requested dialog command are supported; otherwise\nomit `controls`.",
      "Property: controls: Ownership and lifetime": "The string is reflected and retains no resources.",
      "Property: state": "Hydrated state for fallback close behavior.",
      "Property: state: Why": "Closing remains available when no native command target id is supplied.",
      "Property: state: Ownership and lifetime": "The button borrows state; its original Scope owns it."
    },
    "examples": [],
    "relations": [],
    "source": {
      "file": "packages/ui/src/Dialog.ts",
      "line": 471
    },
    "since": "1.0.0",
    "category": "Direct dismissal"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/ui/Dialog#CloseOptions",
    "packageName": "@typed/ui",
    "packageVersion": "1.0.0-beta.13",
    "moduleName": "Dialog",
    "consumerSpecifier": "@typed/ui/Dialog",
    "exportName": "CloseOptions",
    "qualifiedName": "CloseOptions",
    "declarationKey": "declaration:0fcb0824ab06166a7481d231",
    "family": "interface",
    "signatures": [
      "export interface CloseOptions extends Dom.HostOptions<HTMLButtonElement> {\n    readonly state: RefSubject.HydratedRefSubject<State, Schema.SchemaError>;\n    readonly controls?: string;\n    readonly content: Renderable.Any;\n}"
    ],
    "sourceSpans": [
      {
        "file": "packages/ui/src/Dialog.ts",
        "start": {
          "line": 471,
          "column": 1
        },
        "end": {
          "line": 505,
          "column": 2
        }
      },
      {
        "file": "packages/ui/src/Dialog.ts",
        "start": {
          "line": 504,
          "column": 3
        },
        "end": {
          "line": 504,
          "column": 36
        }
      },
      {
        "file": "packages/ui/src/Dialog.ts",
        "start": {
          "line": 494,
          "column": 3
        },
        "end": {
          "line": 494,
          "column": 30
        }
      },
      {
        "file": "packages/ui/src/Dialog.ts",
        "start": {
          "line": 481,
          "column": 3
        },
        "end": {
          "line": 481,
          "column": 76
        }
      }
    ],
    "aliases": [
      "@typed/ui#Dialog.CloseOptions",
      "@typed/ui/index#Dialog.CloseOptions"
    ],
    "isAlias": false,
    "static": false
  },
  "declaration": {
    "declarationKey": "declaration:0fcb0824ab06166a7481d231",
    "name": "CloseOptions",
    "family": "interface",
    "facets": [
      {
        "family": "interface",
        "syntaxKind": "InterfaceDeclaration",
        "signatures": [
          "export interface CloseOptions extends Dom.HostOptions<HTMLButtonElement> {\n    readonly state: RefSubject.HydratedRefSubject<State, Schema.SchemaError>;\n    readonly controls?: string;\n    readonly content: Renderable.Any;\n}"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/ui/src/Dialog.ts",
            "start": {
              "line": 471,
              "column": 1
            },
            "end": {
              "line": 505,
              "column": 2
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "property",
        "syntaxKind": "PropertySignature",
        "signatures": [
          "readonly content: Renderable.Any;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/ui/src/Dialog.ts",
            "start": {
              "line": 504,
              "column": 3
            },
            "end": {
              "line": 504,
              "column": 36
            }
          }
        ],
        "static": false,
        "readonly": true,
        "optional": false
      },
      {
        "family": "property",
        "syntaxKind": "PropertySignature",
        "signatures": [
          "readonly controls?: string;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/ui/src/Dialog.ts",
            "start": {
              "line": 494,
              "column": 3
            },
            "end": {
              "line": 494,
              "column": 30
            }
          }
        ],
        "static": false,
        "readonly": true,
        "optional": true
      },
      {
        "family": "property",
        "syntaxKind": "PropertySignature",
        "signatures": [
          "readonly state: RefSubject.HydratedRefSubject<State, Schema.SchemaError>;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/ui/src/Dialog.ts",
            "start": {
              "line": 481,
              "column": 3
            },
            "end": {
              "line": 481,
              "column": 76
            }
          }
        ],
        "static": false,
        "readonly": true,
        "optional": false
      }
    ],
    "signatures": [
      "export interface CloseOptions extends Dom.HostOptions<HTMLButtonElement> {\n    readonly state: RefSubject.HydratedRefSubject<State, Schema.SchemaError>;\n    readonly controls?: string;\n    readonly content: Renderable.Any;\n}"
    ],
    "typeParameters": [],
    "summary": "Options for dialog close and close-request buttons.",
    "sections": {
      "Why": "Supplying `controls` selects native commands and removes the Fx click\nfallback, requiring command-attribute browser support. Omitting it keeps the\nstate-driven close or request-close handler.",
      "Ownership and lifetime": "Options are inert; rendering owns listeners and dynamic content by Scope.",
      "Property: content": "Visible button content and accessible name.",
      "Property: content: Why": "Every close action needs a discoverable label.",
      "Property: content: Ownership and lifetime": "Dynamic content follows the button Scope.",
      "Property: controls": "Dialog id targeted by native command attributes.",
      "Property: controls: Why": "Native command routing preserves the dialog's platform lifecycle, but\nselecting it omits the component's click fallback. Use it only where\n`commandfor` and the requested dialog command are supported; otherwise\nomit `controls`.",
      "Property: controls: Ownership and lifetime": "The string is reflected and retains no resources.",
      "Property: state": "Hydrated state for fallback close behavior.",
      "Property: state: Why": "Closing remains available when no native command target id is supplied.",
      "Property: state: Ownership and lifetime": "The button borrows state; its original Scope owns it."
    },
    "examples": [],
    "sourceSpans": [
      {
        "file": "packages/ui/src/Dialog.ts",
        "start": {
          "line": 471,
          "column": 1
        },
        "end": {
          "line": 505,
          "column": 2
        }
      },
      {
        "file": "packages/ui/src/Dialog.ts",
        "start": {
          "line": 504,
          "column": 3
        },
        "end": {
          "line": 504,
          "column": 36
        }
      },
      {
        "file": "packages/ui/src/Dialog.ts",
        "start": {
          "line": 494,
          "column": 3
        },
        "end": {
          "line": 494,
          "column": 30
        }
      },
      {
        "file": "packages/ui/src/Dialog.ts",
        "start": {
          "line": 481,
          "column": 3
        },
        "end": {
          "line": 481,
          "column": 76
        }
      }
    ],
    "since": "1.0.0",
    "category": "Direct dismissal"
  }
}
