{
  "id": "@typed/template/Template#EventPartNode",
  "canonicalId": "@typed/template#EventPartNode",
  "symbol": {
    "id": "@typed/template/Template#EventPartNode",
    "packageName": "@typed/template",
    "moduleName": "Template",
    "exportName": "EventPartNode",
    "kind": "class",
    "signatures": [
      "export declare class EventPartNode {\n    readonly _tag: \"event\";\n    readonly name: string;\n    readonly index: number;\n    constructor(name: string, index: number);\n}"
    ],
    "summary": "Represents an event listener part (e.g. `@click=\"${handler}\"`).",
    "sections": {
      "Why": "The event name maps to a real delegated DOM listener and never to a synthetic\nevent protocol.",
      "Ownership and lifetime": "The model owns no listener. The mounted render Scope installs and removes it.",
      "Constructor": "Creates native event-listener syntax.",
      "Property: _tag": "Native-event discriminant.",
      "Property: _tag: Why": "Selects real DOM listener setup and omits events from SSR attributes.",
      "Property: _tag: Ownership and lifetime": "Immutable AST metadata.",
      "Property: index": "Interpolation index producing the Effect handler.",
      "Property: index: Why": "Locates the handler while preserving its error and service channels.",
      "Property: index: Ownership and lifetime": "Immutable scalar metadata; EventSource owns running fibers through its Scope.",
      "Property: name": "Native event name.",
      "Property: name: Why": "Identifies the browser event name delegated by EventSource; callbacks\nreceive its forwarding `currentTarget` Proxy rather than the original\nevent object identity.",
      "Property: name: Ownership and lifetime": "Retained string metadata; the mount Scope owns the listener."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import { EventPartNode } from \"@typed/template/Template\"\n\nconst part = new EventPartNode(\"click\", 0)"
      }
    ],
    "relations": [],
    "source": {
      "file": "packages/template/src/Template.ts",
      "line": 1107
    },
    "since": "1.0.0",
    "category": "Native event bindings"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/template/Template#EventPartNode",
    "packageName": "@typed/template",
    "packageVersion": "1.0.0-beta.13",
    "moduleName": "Template",
    "consumerSpecifier": "@typed/template/Template",
    "exportName": "EventPartNode",
    "qualifiedName": "EventPartNode",
    "declarationKey": "declaration:c878df2779e80e8567651061",
    "family": "class",
    "signatures": [
      "export declare class EventPartNode {\n    readonly _tag: \"event\";\n    readonly name: string;\n    readonly index: number;\n    constructor(name: string, index: number);\n}"
    ],
    "sourceSpans": [
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 1107,
          "column": 1
        },
        "end": {
          "line": 1139,
          "column": 2
        }
      },
      {
        "file": "packages/template/dist/Template.d.ts",
        "start": {
          "line": 1029,
          "column": 5
        },
        "end": {
          "line": 1029,
          "column": 46
        }
      },
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 1115,
          "column": 3
        },
        "end": {
          "line": 1115,
          "column": 36
        }
      },
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 1133,
          "column": 3
        },
        "end": {
          "line": 1133,
          "column": 26
        }
      },
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 1125,
          "column": 3
        },
        "end": {
          "line": 1125,
          "column": 25
        }
      }
    ],
    "aliases": [
      "@typed/template#EventPartNode"
    ],
    "isAlias": false,
    "static": false
  },
  "declaration": {
    "declarationKey": "declaration:c878df2779e80e8567651061",
    "name": "EventPartNode",
    "family": "class",
    "facets": [
      {
        "family": "class",
        "syntaxKind": "ClassDeclaration",
        "signatures": [
          "export declare class EventPartNode {\n    readonly _tag: \"event\";\n    readonly name: string;\n    readonly index: number;\n    constructor(name: string, index: number);\n}"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/template/src/Template.ts",
            "start": {
              "line": 1107,
              "column": 1
            },
            "end": {
              "line": 1139,
              "column": 2
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "constructor",
        "syntaxKind": "Constructor",
        "signatures": [
          "constructor(name: string, index: number);"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/template/dist/Template.d.ts",
            "start": {
              "line": 1029,
              "column": 5
            },
            "end": {
              "line": 1029,
              "column": 46
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "property",
        "syntaxKind": "PropertyDeclaration",
        "signatures": [
          "readonly _tag: \"event\";"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/template/src/Template.ts",
            "start": {
              "line": 1115,
              "column": 3
            },
            "end": {
              "line": 1115,
              "column": 36
            }
          }
        ],
        "static": false,
        "readonly": true,
        "optional": false
      },
      {
        "family": "property",
        "syntaxKind": "PropertyDeclaration",
        "signatures": [
          "readonly index: number;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/template/src/Template.ts",
            "start": {
              "line": 1133,
              "column": 3
            },
            "end": {
              "line": 1133,
              "column": 26
            }
          }
        ],
        "static": false,
        "readonly": true,
        "optional": false
      },
      {
        "family": "property",
        "syntaxKind": "PropertyDeclaration",
        "signatures": [
          "readonly name: string;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/template/src/Template.ts",
            "start": {
              "line": 1125,
              "column": 3
            },
            "end": {
              "line": 1125,
              "column": 25
            }
          }
        ],
        "static": false,
        "readonly": true,
        "optional": false
      }
    ],
    "signatures": [
      "export declare class EventPartNode {\n    readonly _tag: \"event\";\n    readonly name: string;\n    readonly index: number;\n    constructor(name: string, index: number);\n}"
    ],
    "typeParameters": [],
    "summary": "Represents an event listener part (e.g. `@click=\"${handler}\"`).",
    "sections": {
      "Why": "The event name maps to a real delegated DOM listener and never to a synthetic\nevent protocol.",
      "Ownership and lifetime": "The model owns no listener. The mounted render Scope installs and removes it.",
      "Constructor": "Creates native event-listener syntax.",
      "Property: _tag": "Native-event discriminant.",
      "Property: _tag: Why": "Selects real DOM listener setup and omits events from SSR attributes.",
      "Property: _tag: Ownership and lifetime": "Immutable AST metadata.",
      "Property: index": "Interpolation index producing the Effect handler.",
      "Property: index: Why": "Locates the handler while preserving its error and service channels.",
      "Property: index: Ownership and lifetime": "Immutable scalar metadata; EventSource owns running fibers through its Scope.",
      "Property: name": "Native event name.",
      "Property: name: Why": "Identifies the browser event name delegated by EventSource; callbacks\nreceive its forwarding `currentTarget` Proxy rather than the original\nevent object identity.",
      "Property: name: Ownership and lifetime": "Retained string metadata; the mount Scope owns the listener."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import { EventPartNode } from \"@typed/template/Template\"\n\nconst part = new EventPartNode(\"click\", 0)"
      }
    ],
    "sourceSpans": [
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 1107,
          "column": 1
        },
        "end": {
          "line": 1139,
          "column": 2
        }
      },
      {
        "file": "packages/template/dist/Template.d.ts",
        "start": {
          "line": 1029,
          "column": 5
        },
        "end": {
          "line": 1029,
          "column": 46
        }
      },
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 1115,
          "column": 3
        },
        "end": {
          "line": 1115,
          "column": 36
        }
      },
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 1133,
          "column": 3
        },
        "end": {
          "line": 1133,
          "column": 26
        }
      },
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 1125,
          "column": 3
        },
        "end": {
          "line": 1125,
          "column": 25
        }
      }
    ],
    "since": "1.0.0",
    "category": "Native event bindings"
  }
}
