module documentation
Functionality for communicating the required user interface for a thing.
| Class | |
The data required for creating an actionButton in Vue. |
| Class | |
The data required for creating an actionButton in Vue. |
| Function | action |
Create a ActionButton data for the specified Thing Action. |
| Function | property |
Create an PropertyControl data for the specified Thing Property. |
Create a ActionButton data for the specified Thing Action.
| Parameters | |
action:Callable[ | The thing action to create a button for. |
**kwargs:Any | Any attribute of ActionButton except for thing or action. |
| Returns | |
ActionButton | Undocumented |
def property_control_for(thing:
lt.Thing, property_name: str, **kwargs: Any) -> PropertyControl:
(source)
¶
Create an PropertyControl data for the specified Thing Property.
| Parameters | |
thing:lt.Thing | The instance of the thing that has the property to be controlled. |
propertystr | The name of the property to create a control for. |
**kwargs:Any | Any attribute of PropertyControl except for thing or
property_name. If label is not set here it will be the property name. |
| Returns | |
PropertyControl | Undocumented |