File

projects/mobile/components/src/widgets/barcode-scanner/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

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

Type : string

Default value : 'ALL'

caption

This property specifies the label of the barcode-scanner.

Bindable: true

Type : string

class

Class of the widget.

Type : string

horizontalalign

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.

Type : string

iconclass

This property specifies CSS class of the icon.

Bindable: true

Type : string

Default value : 'glyphicon glyphicon-barcode'

iconsize

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

Type : string

Default value : '2em'

name

Name of the barcode-scanner widget.

Type : string

show

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

Bindable: true

Type : boolean

Default value : true

result-matching ""

    No results matching ""