Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
api:component [2018/06/15 21:47]
ldentityunknown component.list()
api:component [2018/06/15 21:50] (current)
ldentityunknown
Line 19: Line 19:
 - `component.type(address:​string):​string`  ​ - `component.type(address:​string):​string`  ​
   Get the component type of the component with the specified address.   Get the component type of the component with the specified address.
 +- `component.slot(address:​string):​string`  ​
 +  Return slot number which the component is installed into. Returns -1 if it doesn'​t otherwise make sense.
 +- `component.fields(address:​string):​string`  ​
 +  Undocumented
 - `component.get(address:​ string[, componentType:​ string]): string | (nil, string)`  ​ - `component.get(address:​ string[, componentType:​ string]): string | (nil, string)`  ​
   Tries to resolve an abbreviated address to a full address. Returns the full address on success, or `nil` and an error message otherwise. Optionally filters by component type.   Tries to resolve an abbreviated address to a full address. Returns the full address on success, or `nil` and an error message otherwise. Optionally filters by component type.