|
Ultralight C++ API 2.0.0
|
#include <Ultralight/dom/data/ActionInfo.h>
Details of a delivered action (its name and the list row it fired from).
Take one as the second parameter of a generic action handler:
An action fired from ul-on:* markup never has a payload, and it doesn't say which View's page fired it.
Public Member Functions | |
| const char * | name () const |
| Get the action's name. | |
| bool | has_row () const |
| Whether or not the action fired from a list row. | |
| bool | row_key_is_string () const |
| Whether or not the row's key is a string (see row_string_key()). | |
| int64_t | row_int_key () const |
| Get the row's integer key. | |
| std::string_view | row_string_key () const |
| Get the row's string key. | |
|
inline |
Whether or not the action fired from a list row.
|
inline |
Get the action's name.
|
inline |
Get the row's integer key.
|
inline |
Whether or not the row's key is a string (see row_string_key()).
|
inline |
Get the row's string key.