zebra-scanner-plugin

1.0.8 • Public • Published

斑码扫描枪 cordova 插件 (广播模式)

  1. 安装 cordova plugin add zebra-scanner-plugin

  2. js 调用 ZebraScannerPlugin

  3. 调用扫描里的方法
    //读取扫描数据 ZebraScannerPlugin.startScanning(function(barcode){console.log(barcode)});

    //关闭扫描 ZebraScannerPlugin.stopScanning();

    //打开扫描键 ZebraScannerPlugin.enableScanKey();

    //禁用扫描键 ZebraScannerPlugin.disabledScanKey();

/zebra-scanner-plugin/

    Package Sidebar

    Install

    npm i zebra-scanner-plugin

    Weekly Downloads

    2

    Version

    1.0.8

    License

    MIT

    Unpacked Size

    5.81 kB

    Total Files

    5

    Last publish

    Collaborators

    • fenzhiqianmo