Node updates

This commit is contained in:
BRADSEC
2025-01-26 12:42:37 +10:00
parent 8a87039eec
commit 41db129096
17 changed files with 103 additions and 20 deletions
+15
View File
@@ -0,0 +1,15 @@
class StringPreviewNode:
@classmethod
def INPUT_TYPES(s):
return {
"required": {},
}
RETURN_TYPES = ("STRING",)
RETURN_NAMES = ("output_string",)
FUNCTION = "preview_string"
CATEGORY = "utils"
OUTPUT_NODE = True
def preview_string(self, input_string=""):
return {"ui": {"text": (input_string,)}, "result": (input_string,)}