utils/kuhy_credit/web/src/kuhy-credit.d.ts
Krzysztof kuhy Rudnicki 50473d2d26 kuhy_credit: web element, Godot, Flutter, CI, README
Todo: 3a5477b9

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 15:33:19 +01:00

27 lines
683 B
TypeScript

/** `<kuhy-credit>`: the shared "Created by kuhy" logo credit. */
export declare class KuhyCredit extends HTMLElement {
/** True while the panel is showing. */
readonly open: boolean;
/** Hide the panel. */
close(): void;
}
/** Attributes the element reads. */
export interface KuhyCreditAttributes {
align?: "end" | "start";
placement?: "above" | "below";
theme?: "dark" | "light";
}
declare global {
interface HTMLElementTagNameMap {
"kuhy-credit": KuhyCredit;
}
// React 19 / Vite: <kuhy-credit /> in JSX.
namespace JSX {
interface IntrinsicElements {
"kuhy-credit": KuhyCreditAttributes & { class?: string; className?: string };
}
}
}