Import
import { TemplateAttributeProps } from "@typed/ui/Dom/index";This public exposure is a re-export. Its import path is supported; declaration documentation is shared with the other public exposures below.
Signatures
export type TemplateAttributeProps = {
readonly id?: StringAttributeValue;
readonly class?: StringAttributeValue;
readonly className?: StringAttributeValue;
readonly for?: StringAttributeValue;
readonly tabindex?: AttributeValue;
readonly value?: AttributeValue;
readonly min?: AttributeValue;
readonly max?: AttributeValue;
readonly low?: AttributeValue;
readonly high?: AttributeValue;
readonly optimum?: AttributeValue;
readonly step?: AttributeValue;
readonly role?: StringAttributeValue;
readonly style?: StyleValue;
readonly popover?: StringAttributeValue;
readonly popovertarget?: StringAttributeValue;
readonly popovertargetaction?: PopoverTargetActionValue;
readonly command?: CommandValue;
readonly commandfor?: StringAttributeValue;
readonly ".data"?: Readonly<Record<string, RenderableInput>>;
} & {
readonly [K in `aria-${string}`]?: AttributeValue;
} & {
readonly [K in `data-${string}`]?: DataAttributeValue;
} & {
readonly [K in `?${string}`]?: BooleanAttributeValue;
};Why
Attribute, ARIA, data, boolean (?name), dataset (.data), command, and
popover fields stay available to component users instead of being filtered
through a framework-owned prop vocabulary.
Ownership and lifetime
Scalar parts retain direct references to their targets and update locally. The renderer removes only values installed through the corresponding part.
Other public imports
These import paths expose the same declaration. Each page retains its own public name and signature.
Source
packages/ui/src/Dom/Types.ts:313packages/ui/src/Dom/Types.ts:333packages/ui/src/Dom/Types.ts:315packages/ui/src/Dom/Types.ts:316packages/ui/src/Dom/Types.ts:331packages/ui/src/Dom/Types.ts:332packages/ui/src/Dom/Types.ts:317packages/ui/src/Dom/Types.ts:323packages/ui/src/Dom/Types.ts:314packages/ui/src/Dom/Types.ts:322packages/ui/src/Dom/Types.ts:321packages/ui/src/Dom/Types.ts:320packages/ui/src/Dom/Types.ts:324packages/ui/src/Dom/Types.ts:328packages/ui/src/Dom/Types.ts:329packages/ui/src/Dom/Types.ts:330packages/ui/src/Dom/Types.ts:326packages/ui/src/Dom/Types.ts:325packages/ui/src/Dom/Types.ts:327packages/ui/src/Dom/Types.ts:318packages/ui/src/Dom/Types.ts:319