SelectElement
Static Method Summary
| Static Public Methods | ||
| public static |
|
|
Static Public Methods
public static element(name: String, fields: [{field: field, alias:alias}]): Object source
Params:
| Name | Type | Attribute | Description |
| name | String | Indicates the datastream to show |
|
| fields | [{field: field, alias:alias}] | The fields that you want to show from that datastream |
Example:
SE.element('provision.device.identifier', ['value'], 'identifier')
returns:
{
name : 'provision.device.identifier',
fields: ['value'],
alias: 'identifier
}
SE.element('provision.device.identifier', ['value'])
returns:
{
name : 'provision.device.identifier',
fields: ['value']
}