File

projects/mobile/components/device/barcode-scanner/src/barcode-scanner.component.doc.ts

Description

The wmBarcodescanner component defines the barcode-scanner widget.

Index

Methods
Inputs

Methods

onSuccess
onSuccess($event: MouseEvent, widget: any)

This event handler is called whenever a success event is triggered.

Parameters :
Name Type Optional Description
$event MouseEvent No

DOM event on which call back is triggered

widget any No

Instance of the widget

Returns : void

Inputs

barcodeformat
Type : string
Default value : 'ALL'

Format of bar code to scan.

Allowed Values: QR_CODE, DATA_MATRIX, UPC_E, UPC_A, EAN_8, EAN_13, CODE_128, CODE_39, CODE_93, CODABAR, ITF, RSS14, RSS_EXPANDED, PDF_417, AZTEC, MSI

caption
Type : string

This property specifies the label of the barcode-scanner.

Bindable: true

class
Type : string

Class of the widget.

horizontalalign
Type : string

This property specifies how the elements should be aligned horizontally.

Allowed Values: left, center, right

left: Aligns an element to the left.

center: Aligns an element to the center.

right: Aligns an element to the right.

iconclass
Type : string
Default value : 'glyphicon glyphicon-barcode'

This property specifies CSS class of the icon.

Bindable: true

iconsize
Type : string
Default value : '2em'

This property specifies size of the icon. Value has to be specified along with the units (em or px).

name
Type : string

Name of the barcode-scanner widget.

show
Type : boolean
Default value : true

This property will be used to show/hide the barcodescanner widget.

Bindable: true

result-matching ""

    No results matching ""