Merge pull request #324 from SRChiP/add-set-property

Add setProperty to typescript definition
This commit is contained in:
Javi Agenjo
2022-10-24 11:49:00 +02:00
committed by GitHub

2
src/litegraph.d.ts vendored
View File

@@ -666,6 +666,8 @@ export declare class LGraphNode {
toString(): string;
/** get the title string */
getTitle(): string;
/** sets the value of a property */
setProperty(name: string, value: any): void;
/** sets the output data */
setOutputData(slot: number, data: any): void;
/** sets the output data */