core/common/service-registry.model.ts
Defines a provider for additional device status buttons. TODO to be removed when DeviceStatusWidget is migrated to Angular
Methods |
canShowButton | ||||||||
canShowButton(device: IManagedObject)
|
||||||||
Determines whether the button should be shown for a given device.
Parameters :
Returns :
boolean
A boolean value indicating whether the button should be displayed. |
getButtonInfo |
getButtonInfo()
|
Provides the properties necessary to render the button.
Returns :
literal type
An object containing the button's title, icon, label, and click action. |