mirror of
https://github.com/AndrioCelos/TableturfBattleApp.git
synced 2026-04-21 16:17:14 -05:00
18 lines
355 B
TypeScript
18 lines
355 B
TypeScript
declare class QRCode {
|
|
constructor(el: HTMLElement | string, vOption: string | {
|
|
text: string,
|
|
width?: number,
|
|
height?: number,
|
|
colorDark?: string,
|
|
colorLight?: string,
|
|
correctLevel?: QRCode.CorrectLevel
|
|
});
|
|
|
|
makeCode(sText: string) : void;
|
|
clear() : void;
|
|
}
|
|
|
|
declare namespace QRCode {
|
|
enum CorrectLevel { L = 1, M = 0, Q = 3, H = 2 }
|
|
}
|