elements.ts — astro Source File
Architecture documentation for elements.ts, a typescript file in the astro codebase. 1 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 01bc6d5e_ddf1_e517_3966_48e1110a2a79["elements.ts"] 7cae395d_a0c9_4ad5_6419_c968c5ad182f["./view-transitions.js"] 01bc6d5e_ddf1_e517_3966_48e1110a2a79 --> 7cae395d_a0c9_4ad5_6419_c968c5ad182f style 01bc6d5e_ddf1_e517_3966_48e1110a2a79 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import type { TransitionAnimationValue } from './view-transitions.js';
export interface AstroComponentDirectives extends Astro.ClientDirectives {
'server:defer'?: boolean;
}
export interface AstroClientDirectives {
'client:load'?: boolean;
'client:idle'?: IdleRequestOptions | boolean;
'client:media'?: string;
'client:visible'?: ClientVisibleOptions | boolean;
'client:only'?: boolean | string;
}
export type ClientVisibleOptions = Pick<IntersectionObserverInit, 'rootMargin'>;
export interface AstroBuiltinAttributes {
'class:list'?:
| Record<string, boolean>
| Record<any, any>
| Iterable<string>
| Iterable<any>
| string;
'set:html'?: any;
'set:text'?: any;
'is:raw'?: boolean;
'transition:animate'?: TransitionAnimationValue;
'transition:name'?: string;
'transition:persist'?: boolean | string;
}
export interface AstroDefineVarsAttribute {
'define:vars'?: any;
}
export interface AstroStyleAttributes {
'is:global'?: boolean;
'is:inline'?: boolean;
}
export interface AstroScriptAttributes {
'is:inline'?: boolean;
}
export interface AstroSlotAttributes {
'is:inline'?: boolean;
}
Domain
Types
Dependencies
- ./view-transitions.js
Source
Frequently Asked Questions
What does elements.ts do?
elements.ts is a source file in the astro codebase, written in typescript. It belongs to the CoreAstro domain.
What does elements.ts depend on?
elements.ts imports 1 module(s): ./view-transitions.js.
Where is elements.ts in the architecture?
elements.ts is located at packages/astro/src/types/public/elements.ts (domain: CoreAstro, directory: packages/astro/src/types/public).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free