@chenfengyuan/vue-barcode
Version:
Bar code component for Vue 3.
58 lines (57 loc) • 1.51 kB
TypeScript
declare const _default: import("vue").DefineComponent<{
/**
* The value of the bar code.
*/
value: {
type: StringConstructor;
default: undefined;
};
/**
* The options for the bar code generator.
* {@link https://github.com/lindell/JsBarcode#options}
*/
options: {
type: ObjectConstructor;
default: undefined;
};
/**
* The tag name of the component's root element.
*/
tag: {
type: StringConstructor;
default: string;
};
}, unknown, unknown, {}, {
/**
* Generate bar code.
*/
generate(): void;
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
/**
* The value of the bar code.
*/
value: {
type: StringConstructor;
default: undefined;
};
/**
* The options for the bar code generator.
* {@link https://github.com/lindell/JsBarcode#options}
*/
options: {
type: ObjectConstructor;
default: undefined;
};
/**
* The tag name of the component's root element.
*/
tag: {
type: StringConstructor;
default: string;
};
}>>, {
value: string;
options: Record<string, any>;
tag: string;
}>;
export default _default;