Перейти к основному содержимому

Numericalstorage Open Menu

Opens a Numerical Storage menu (triggerable)

Поля

ПолеТипПо умолчаниюОписание
definitionRef<NumericalStorageDefinitionEntry>—The storage definition to open.
layoutPoolList<LayoutData>emptyLayout pool for the menu.
mainLayoutIdString—The ID of the main layout to display from the pool.
Общие поля TypeWriter (triggers, criteria, modifiers)
ПолеТипПо умолчаниюОписание
triggersList<Ref<TriggerableEntry>>emptyTriggerable entries after this entry.
criteriaList<Criteria>emptyCriteria to check before triggering.
modifiersList<Modifier>emptyModifiers to apply when triggered.

How to use it​

The action opens the menu of definition: the title and the number of rows come from the definition, the items from the layoutPool of this entry. Put the id of one layout in mainLayoutId. Each item that should work as a button needs buttonPrefix set to numericalstorage_button: and a buttonType such as DEPOSIT_FIXED:100. The full list is in the Menus section of the extension page.

This entry is also used to reopen the menu after a transaction and by /typewriter ns open. Create exactly one per definition.