{
  "id": "@typed/ui/Dialog#TriggerOptions",
  "canonicalId": "@typed/ui/Dialog#TriggerOptions",
  "symbol": {
    "id": "@typed/ui/Dialog#TriggerOptions",
    "packageName": "@typed/ui",
    "moduleName": "Dialog",
    "exportName": "TriggerOptions",
    "kind": "interface",
    "signatures": [
      "export interface TriggerOptions 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 a dialog-opening button.",
    "sections": {
      "Why": "The trigger exposes dialog relationship and expanded state to the platform.",
      "Ownership and lifetime": "Options are inert; rendering owns listeners/subscriptions by Scope.",
      "Property: content": "Visible trigger content and accessible name.",
      "Property: content: Why": "A dialog trigger must be discoverable to assistive technology.",
      "Property: content: Ownership and lifetime": "Dynamic content follows the trigger Scope.",
      "Property: controls": "Dialog id targeted by native command attributes.",
      "Property: controls: Why": "With an id, the trigger emits `commandfor` and `command=\"show-modal\"` and\ndeliberately omits its Fx click fallback. That form therefore requires\nbrowser support for native command attributes. Without `controls`, Typed\ninstalls the state-driven click fallback instead.",
      "Property: controls: Ownership and lifetime": "The string is reflected and retains no resources.",
      "Property: state": "Hydrated state shared with dialog content.",
      "Property: state: Why": "One source drives `aria-expanded` and dialog visibility.",
      "Property: state: Ownership and lifetime": "The trigger borrows state; its originating Scope owns it."
    },
    "examples": [],
    "relations": [],
    "source": {
      "file": "packages/ui/src/Dialog.ts",
      "line": 199
    },
    "since": "1.0.0",
    "category": "Opening controls"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/ui/Dialog#TriggerOptions",
    "packageName": "@typed/ui",
    "packageVersion": "1.0.0-beta.13",
    "moduleName": "Dialog",
    "consumerSpecifier": "@typed/ui/Dialog",
    "exportName": "TriggerOptions",
    "qualifiedName": "TriggerOptions",
    "declarationKey": "declaration:8d07c1e50ebf84abf581bea9",
    "family": "interface",
    "signatures": [
      "export interface TriggerOptions 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": 199,
          "column": 1
        },
        "end": {
          "line": 233,
          "column": 2
        }
      },
      {
        "file": "packages/ui/src/Dialog.ts",
        "start": {
          "line": 232,
          "column": 3
        },
        "end": {
          "line": 232,
          "column": 36
        }
      },
      {
        "file": "packages/ui/src/Dialog.ts",
        "start": {
          "line": 222,
          "column": 3
        },
        "end": {
          "line": 222,
          "column": 30
        }
      },
      {
        "file": "packages/ui/src/Dialog.ts",
        "start": {
          "line": 209,
          "column": 3
        },
        "end": {
          "line": 209,
          "column": 76
        }
      }
    ],
    "aliases": [
      "@typed/ui#Dialog.TriggerOptions",
      "@typed/ui/index#Dialog.TriggerOptions"
    ],
    "isAlias": false,
    "static": false
  },
  "declaration": {
    "declarationKey": "declaration:8d07c1e50ebf84abf581bea9",
    "name": "TriggerOptions",
    "family": "interface",
    "facets": [
      {
        "family": "interface",
        "syntaxKind": "InterfaceDeclaration",
        "signatures": [
          "export interface TriggerOptions 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": 199,
              "column": 1
            },
            "end": {
              "line": 233,
              "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": 232,
              "column": 3
            },
            "end": {
              "line": 232,
              "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": 222,
              "column": 3
            },
            "end": {
              "line": 222,
              "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": 209,
              "column": 3
            },
            "end": {
              "line": 209,
              "column": 76
            }
          }
        ],
        "static": false,
        "readonly": true,
        "optional": false
      }
    ],
    "signatures": [
      "export interface TriggerOptions 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 a dialog-opening button.",
    "sections": {
      "Why": "The trigger exposes dialog relationship and expanded state to the platform.",
      "Ownership and lifetime": "Options are inert; rendering owns listeners/subscriptions by Scope.",
      "Property: content": "Visible trigger content and accessible name.",
      "Property: content: Why": "A dialog trigger must be discoverable to assistive technology.",
      "Property: content: Ownership and lifetime": "Dynamic content follows the trigger Scope.",
      "Property: controls": "Dialog id targeted by native command attributes.",
      "Property: controls: Why": "With an id, the trigger emits `commandfor` and `command=\"show-modal\"` and\ndeliberately omits its Fx click fallback. That form therefore requires\nbrowser support for native command attributes. Without `controls`, Typed\ninstalls the state-driven click fallback instead.",
      "Property: controls: Ownership and lifetime": "The string is reflected and retains no resources.",
      "Property: state": "Hydrated state shared with dialog content.",
      "Property: state: Why": "One source drives `aria-expanded` and dialog visibility.",
      "Property: state: Ownership and lifetime": "The trigger borrows state; its originating Scope owns it."
    },
    "examples": [],
    "sourceSpans": [
      {
        "file": "packages/ui/src/Dialog.ts",
        "start": {
          "line": 199,
          "column": 1
        },
        "end": {
          "line": 233,
          "column": 2
        }
      },
      {
        "file": "packages/ui/src/Dialog.ts",
        "start": {
          "line": 232,
          "column": 3
        },
        "end": {
          "line": 232,
          "column": 36
        }
      },
      {
        "file": "packages/ui/src/Dialog.ts",
        "start": {
          "line": 222,
          "column": 3
        },
        "end": {
          "line": 222,
          "column": 30
        }
      },
      {
        "file": "packages/ui/src/Dialog.ts",
        "start": {
          "line": 209,
          "column": 3
        },
        "end": {
          "line": 209,
          "column": 76
        }
      }
    ],
    "since": "1.0.0",
    "category": "Opening controls"
  }
}
