Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The shortcuts you want to display must be described in the actionAvailabledaction-availabled.json file located in the menu directory. It is an Array<Action> with the following settings :

...

Property

Type

Default

Description

id

string

false

Unique identifier of your choice for the shortcut

key

string

undefined

I18n key for shortcut label

icon

string

undefined

Font awesome style fa-s/l/r + icon name prefixed with fa-

to

object

{}

A JSON object with a mandatory name property to specify the Vue route to follow on an existing component of your choice.

Ex:

{

"name": "dam-explore",

"params": {}

}

descriptionKey

string

undefined

I18n key for shortcut description

...