barcode-scanner-ci-rx600
Advanced tools
Comparing version 0.0.5 to 0.0.6
@@ -48,2 +48,25 @@ { | ||
{ | ||
"name": "addListener", | ||
"signature": "(eventName: 'buttonClicked', listenerFunc: (keyCode: { result: string; }) => void) => PluginListenerHandle", | ||
"parameters": [ | ||
{ | ||
"name": "eventName", | ||
"docs": "", | ||
"type": "'buttonClicked'" | ||
}, | ||
{ | ||
"name": "listenerFunc", | ||
"docs": "", | ||
"type": "(keyCode: { result: string; }) => void" | ||
} | ||
], | ||
"returns": "PluginListenerHandle", | ||
"tags": [], | ||
"docs": "", | ||
"complexTypes": [ | ||
"PluginListenerHandle" | ||
], | ||
"slug": "addlistenerbuttonclicked" | ||
}, | ||
{ | ||
"name": "scanInit", | ||
@@ -50,0 +73,0 @@ "signature": "() => Promise<void>", |
@@ -11,2 +11,5 @@ import type { PluginListenerHandle } from "@capacitor/core"; | ||
}) => void): PluginListenerHandle; | ||
addListener(eventName: 'buttonClicked', listenerFunc: (keyCode: { | ||
result: string; | ||
}) => void): PluginListenerHandle; | ||
scanInit(): Promise<void>; | ||
@@ -13,0 +16,0 @@ scanDestroy(): Promise<void>; |
{ | ||
"name": "barcode-scanner-ci-rx600", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"description": "Later", | ||
@@ -5,0 +5,0 @@ "main": "dist/plugin.cjs.js", |
@@ -18,2 +18,3 @@ # barcode-scanner | ||
* [`addListener('BroadcastReceiverEvent', ...)`](#addlistenerbroadcastreceiverevent) | ||
* [`addListener('buttonClicked', ...)`](#addlistenerbuttonclicked) | ||
* [`scanInit()`](#scaninit) | ||
@@ -61,2 +62,18 @@ * [`scanDestroy()`](#scandestroy) | ||
### addListener('buttonClicked', ...) | ||
```typescript | ||
addListener(eventName: 'buttonClicked', listenerFunc: (keyCode: { result: string; }) => void) => PluginListenerHandle | ||
``` | ||
| Param | Type | | ||
| ------------------ | ------------------------------------------------------ | | ||
| **`eventName`** | <code>'buttonClicked'</code> | | ||
| **`listenerFunc`** | <code>(keyCode: { result: string; }) => void</code> | | ||
**Returns:** <code><a href="#pluginlistenerhandle">PluginListenerHandle</a></code> | ||
-------------------- | ||
### scanInit() | ||
@@ -63,0 +80,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
37187
268
123