new module:model/ListItem()
- Source:
Constructs a new ListItem
.
One of the selectable items in the listItems
property of a list
tab.
Members
(inner) selected :String
- Source:
When set to true, indicates that this item is the default selection shown to a signer. Only one selection can be set as the default.
Type:
- String
(inner) selectedMetadata :module:model/PropertyMetadata
- Source:
Metadata that indicates whether the selected
property is editable.
Type:
(inner) text :String
- Source:
Specifies the text that is shown in the dropdown list.
Type:
- String
(inner) textMetadata :module:model/PropertyMetadata
- Source:
Type:
(inner) value :String
- Source:
Specifies the value that is used when the list item is selected.
Type:
- String
(inner) valueMetadata :module:model/PropertyMetadata
- Source:
Metadata that indicates whether the value
property is editable.
Type:
Methods
(static) constructFromObject(data, obj) → {module:model/ListItem}
- Source:
Constructs a ListItem
from a plain JavaScript object, optionally creating a new instance.
Copies all relevant properties from data
to obj
if supplied or a new instance if not.
Parameters:
Name | Type | Description |
---|---|---|
data |
Object | The plain JavaScript object bearing properties of interest. |
obj |
module:model/ListItem | Optional instance to populate. |
Returns:
The populated ListItem
instance.