Whether or not P can be an action's payload without a payload struct (ignoring const, volatile, and references).
More...
template<typename P>
Whether or not T binds as a leaf value (ignoring const, volatile, and references),...
Definition ValueTraits.h:255
Whether or not P can be an action's payload without a payload struct (ignoring const,...
Definition ValueTraits.h:268
@ String
UTF-8 text (from strings and enums).
Definition ValueTraits.h:31
@ Bool
A boolean.
Definition ValueTraits.h:28
@ Double
A double-precision float (from any floating-point type).
Definition ValueTraits.h:30
@ Int64
A signed 64-bit integer (from any integer type).
Definition ValueTraits.h:29
Conversion rules that expose a C++ type as a primitive value in data bindings.
Definition ValueTraits.h:248
Whether or not P can be an action's payload without a payload struct (ignoring const, volatile, and references).
It can when it binds as a Bool, Int64, Double, or String value (eg, Action<double> or an enum). dom::StyleValue and Color can't be payloads.
- Note
- A handler for a payload of your own ValueTraits type must take a dd::Value (see ValueTraits).