Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CommandModel

Represents a command that can be executed on a DataItem

Hierarchy

  • CommandModel

Index

Properties

category

category: string

The category is used to group commands and to determine their placement in the UI.

In dialogs the category is used to determine the visual representation of the command. There are 3 out of the box categories: 'cancel' - the rendered button is white 'primary' - the rendered button is green 'delete' - the rendered button is red

name

name: string

The name of the command is used as identifier.

ordinal

ordinal: number

The ordinal number of the command

title

title: string

The title of the command is visualized as text inside the button in the UI.

Optional token

token: TokenData

A custom token for invoking a service to handle the command

Generated using TypeDoc