# node-red-contrib-boolean-logic-ultimate | # node-red-contrib-boolean-logic-ultimate | ||||
<p> | <p> | ||||
<b>Version 1.0.2</b><br/> | |||||
- Added "trigger mode" option (fixed UI glitch)<br/> | |||||
</p> | |||||
<p> | |||||
<b>Version 1.0.1</b><br/> | <b>Version 1.0.1</b><br/> | ||||
- Added "trigger mode" option<br/> | - Added "trigger mode" option<br/> | ||||
</p> | </p> |
function() { | function() { | ||||
let label = ""; | let label = ""; | ||||
let filtered=this.filtertrue=="both" ? "" : " |TRUE" ; | let filtered=this.filtertrue=="both" ? "" : " |TRUE" ; | ||||
let trigger=this.outputtriggeredby=="all" ? "" : " |TRIG:" + this.triggertopic; | |||||
let trigger=""; | |||||
if(typeof this.outputtriggeredby !== "undefined") trigger=this.outputtriggeredby=="all" ? "" : " |TRIG:" + this.triggertopic; | |||||
label= this.inputCount + ((filtered+trigger)==""?" Boolean Logic":(filtered+trigger)); | label= this.inputCount + ((filtered+trigger)==""?" Boolean Logic":(filtered+trigger)); | ||||
if( this.name !== undefined && this.name.length > 0 ) { | if( this.name !== undefined && this.name.length > 0 ) { | ||||
label += " (" + this.name + ")"; | label += " (" + this.name + ")"; |
{ | { | ||||
"name": "node-red-contrib-boolean-logic-ultimate", | "name": "node-red-contrib-boolean-logic-ultimate", | ||||
"version": "1.0.1", | |||||
"version": "1.0.2", | |||||
"description": "A set of Node-RED enhanced boolean logic, with persisten values after reboot and more", | "description": "A set of Node-RED enhanced boolean logic, with persisten values after reboot and more", | ||||
"author": "Supergiovane (https://github.com/Supergiovane)", | "author": "Supergiovane (https://github.com/Supergiovane)", | ||||
"dependencies": { | "dependencies": { |