mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
feat(site): media element API reference builder (#1256)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
0c8e19a4e0
commit
cf357ad9a7
@@ -570,3 +570,30 @@ export interface PresetResult {
|
||||
}
|
||||
|
||||
export { generatePresetReferences } from './preset-handler.js';
|
||||
|
||||
// ═══════════════════════════════════════════════════════════════════════
|
||||
// MEDIA ELEMENT REFERENCE PIPELINE
|
||||
// ═══════════════════════════════════════════════════════════════════════
|
||||
|
||||
export interface DelegatePropertyDef {
|
||||
type: string;
|
||||
description?: string;
|
||||
readonly: boolean;
|
||||
}
|
||||
|
||||
export interface MediaElementReference {
|
||||
name: string;
|
||||
tagName: string;
|
||||
delegateProperties: Record<string, DelegatePropertyDef>;
|
||||
nativeAttributes: string[];
|
||||
events: string[];
|
||||
cssCustomProperties: Record<string, { description: string }>;
|
||||
slots: string[];
|
||||
}
|
||||
|
||||
export interface MediaElementResult {
|
||||
name: string;
|
||||
reference: MediaElementReference;
|
||||
}
|
||||
|
||||
export { generateMediaElementReferences } from './media-element-handler.js';
|
||||
|
||||
Reference in New Issue
Block a user