A single tweak to promote into source. More...
#include <lock_to_source.hpp>
Public Attributes | |
| std::string | anchor_id |
| std::string | property_path |
| std::string | value |
| The tweaked value, already stringified the way it should appear in the generated source's JS string literal (e.g. | |
A single tweak to promote into source.
Mirrors the tuple the inspector tweak-store keys on: (anchor_id, property_path) → value.
property_path is the canonical dotted path used by pulp-tweaks.json — e.g. paint.backgroundColor, style.width, layout.padding. The engine maps the path onto the generated codegen's el.style.<camel> line. See lock_property_to_style_name() for the exact mapping.
| std::string pulp::view::LockToSourceTweak::anchor_id |
| std::string pulp::view::LockToSourceTweak::property_path |
| std::string pulp::view::LockToSourceTweak::value |
The tweaked value, already stringified the way it should appear in the generated source's JS string literal (e.g.
"#5a5a5a", "12px", "120px"). Numeric layout dimensions should carry their unit.