Zebra API Doc

zebra.ui.Combo.EditableContentPan Class

Editable content area combo box component panel class

Item Index

Attributes

Methods

comboValueUpdated

(
  • combo
  • v
)

Called when the combo box content has been updated

Parameters:

  • combo zebra.ui.Combo

    a combo where the new value has been set

  • v Object

    a new combo box value

getCombo

() zebra.ui.Combo

Inherited from zebra.ui.Combo.ContentPan:

Get a combo box the content panel belongs


Return: zebra.ui.Combo

a combo the content panel belongs

Attributes

isEditable

Boolean readonly

Inherited from zebra.ui.Combo.ContentPan:

Indicates if the content panel is editable. Set the property to true to indicate the content panel implementation is editable. Editable means the combo box content can be editable by a user

Default: undefined

textField

zebra.ui.TextField private readonly

A reference to a text field component the content panel uses as a value editor

Events

contentUpdated

Fired when a content value has been updated.

   content.bind(function(contentPan, newValue) {
       ...
   });

Event Parameters:

  • contentPan zebra.ui.Combo.ContentPan

    a content panel that updated its value

  • newValue Object

    a new value the content panel has been set with