morph 0.1.0
Asynchronous bridge between GUI thread and business models
Loading...
Searching...
No Matches
morph::forms::CollectionAction Struct Reference

One v-rowAction or v-actions entry. More...

#include <collection.hpp>

Public Attributes

std::string action
 The action type executed.
std::string label
 The button label: label, else the action type.
CollectionActionScope scope = CollectionActionScope::Row
 Row or collection.
std::vector< std::pair< std::string, std::string > > bind
 {actionField: rowField} pairs, in document order.
bool confirm = false
 Whether the action waits for a confirmation.

Detailed Description

One v-rowAction or v-actions entry.

Definition at line 69 of file collection.hpp.

Member Data Documentation

◆ action

std::string morph::forms::CollectionAction::action

The action type executed.

Definition at line 71 of file collection.hpp.

◆ label

std::string morph::forms::CollectionAction::label

The button label: label, else the action type.

Definition at line 73 of file collection.hpp.

◆ scope

CollectionActionScope morph::forms::CollectionAction::scope = CollectionActionScope::Row

Row or collection.

Definition at line 75 of file collection.hpp.

◆ bind

std::vector<std::pair<std::string, std::string> > morph::forms::CollectionAction::bind

{actionField: rowField} pairs, in document order.

Definition at line 77 of file collection.hpp.

◆ confirm

bool morph::forms::CollectionAction::confirm = false

Whether the action waits for a confirmation.

Definition at line 79 of file collection.hpp.


The documentation for this struct was generated from the following file: