-
Notifications
You must be signed in to change notification settings - Fork 84
Expand file tree
/
Copy pathcomponents.d.ts
More file actions
59 lines (59 loc) · 1.79 KB
/
components.d.ts
File metadata and controls
59 lines (59 loc) · 1.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
/* eslint-disable */
/* tslint:disable */
/**
* This is an autogenerated file created by the Stencil compiler.
* It contains typing information for all components that exist in this project.
*/
import { HTMLStencilElement, JSXBase } from "@stencil/core/internal";
import { AnimationPreset, QRCodeAnimation } from "./components/qr-code/animations";
export namespace Components {
interface QrCode {
"animateQRCode": (animation?: AnimationPreset | QRCodeAnimation) => Promise<void>;
"contents": string;
"getModuleCount": () => Promise<number>;
"maskXToYRatio": number;
"moduleColor": string;
"positionCenterColor": string;
"positionRingColor": string;
"protocol": string;
"squares": boolean;
}
}
export interface QrCodeCustomEvent<T> extends CustomEvent<T> {
detail: T;
target: HTMLQrCodeElement;
}
declare global {
interface HTMLQrCodeElement extends Components.QrCode, HTMLStencilElement {
}
var HTMLQrCodeElement: {
prototype: HTMLQrCodeElement;
new (): HTMLQrCodeElement;
};
interface HTMLElementTagNameMap {
"qr-code": HTMLQrCodeElement;
}
}
declare namespace LocalJSX {
interface QrCode {
"contents"?: string;
"maskXToYRatio"?: number;
"moduleColor"?: string;
"onCodeRendered"?: (event: QrCodeCustomEvent<any>) => void;
"positionCenterColor"?: string;
"positionRingColor"?: string;
"protocol"?: string;
"squares"?: boolean;
}
interface IntrinsicElements {
"qr-code": QrCode;
}
}
export { LocalJSX as JSX };
declare module "@stencil/core" {
export namespace JSX {
interface IntrinsicElements {
"qr-code": LocalJSX.QrCode & JSXBase.HTMLAttributes<HTMLQrCodeElement>;
}
}
}