First commit
This commit is contained in:
25
node_modules/swissqrbill/lib/cjs/svg/swissqrcode.d.ts
generated
vendored
Normal file
25
node_modules/swissqrbill/lib/cjs/svg/swissqrcode.d.ts
generated
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
import { SVG } from 'svg-engine';
|
||||
import { Data } from '../shared/types.js';
|
||||
export declare class SwissQRCode {
|
||||
instance: SVG;
|
||||
/**
|
||||
* Creates a Swiss QR Code.
|
||||
*
|
||||
* @param data The data to be encoded in the QR code.
|
||||
* @param size The size of the QR code in mm.
|
||||
* @throws { ValidationError } Throws an error if the data is invalid.
|
||||
*/
|
||||
constructor(data: Data, size?: number);
|
||||
/**
|
||||
* Outputs the SVG as a string.
|
||||
*
|
||||
* @returns The outerHTML of the SVG element.
|
||||
*/
|
||||
toString(): string;
|
||||
/**
|
||||
* Returns the SVG element.
|
||||
*
|
||||
* @returns The SVG element.
|
||||
*/
|
||||
get element(): SVGElement;
|
||||
}
|
||||
Reference in New Issue
Block a user