File

device-grid/device-grid.model.ts

Deprecated

Use `ActionControlHook` instead.

Description

Defines an action hook for the device grid.

Example :
 {
    ...
    deviceMatches: (device: IManagedObject) => device?.type === 'my_custom_type'
 }
Example :
 {
    ...
    onAction: (device: IManagedObject) => this.myService.triggerCustomAction(device)
 }

Index

Properties

Properties

deviceMatches
deviceMatches: function
Type : function
icon
icon: string
Type : string
Optional
onAction
onAction: function
Type : function
refreshAfterActionDone
refreshAfterActionDone: boolean
Type : boolean
showOnHover
showOnHover: boolean
Type : boolean
Optional
text
text: string
Type : string
Optional
type
type: BuiltInActionType | string
Type : BuiltInActionType | string

results matching ""

    No results matching ""