Open buggyj opened 2 months ago
Maybe use a check list of 'parameters' like with tw macros:
exports.params = [
{name: "format"}
];
psignals = [name1, name2]
export psignals
where the name1 etc include the type char, one of ':#?', thus pwidget can handle missing values.
it seems that is we try to access a non-existent signal, an exception is thrown, but then the signals in other (apps) modules stop causing re-renders. As the signals are passed as a list of [[#signal|textreference]] it is possible that the binding can be missing, and so the signal will not be created.