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

A cascade: commands that run when a value changes (spec 5 §6). More...

#include <document.hpp>

Public Attributes

std::string path
 The declaration's JSON Pointer.
ExprPtr on
 The value watched.
WatchSource source = WatchSource::Any
 Which changes run it.
Commands body
 The commands.

Detailed Description

A cascade: commands that run when a value changes (spec 5 §6).

Definition at line 339 of file document.hpp.

Member Data Documentation

◆ path

std::string morph::ui::WatchDecl::path

The declaration's JSON Pointer.

Definition at line 341 of file document.hpp.

◆ on

ExprPtr morph::ui::WatchDecl::on

The value watched.

Definition at line 343 of file document.hpp.

◆ source

WatchSource morph::ui::WatchDecl::source = WatchSource::Any

Which changes run it.

Definition at line 345 of file document.hpp.

◆ body

Commands morph::ui::WatchDecl::body

The commands.

Definition at line 347 of file document.hpp.


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