Commit Graph

25 Commits

Author SHA1 Message Date
ilya
802156e5a0 TypeDef updates and fix of method declaration 2020-07-13 19:54:24 +03:00
ilya
ea63884c83 Added typings for slot shape and replaced built files 2020-07-10 12:23:43 +03:00
Javi Agenjo
5df80e1648 Merge pull request #154 from ilyabesk/replace_connection_improvements
Cheanges to allow ability to automatically create inputs if required.
2020-07-10 09:37:44 +02:00
ilya
0238a5dcae Chenges to allow ability to automatically create inputs if required. 2020-07-08 21:14:36 +03:00
ilyabeskrovniy
115b647bf6 Fixed typings and documentation 2020-07-07 10:27:22 +03:00
altarfinch
93ba405a23 fixed enableWebGL missing declarations 2020-05-15 10:57:17 +02:00
altarfinch
4fe32687d2 fixed mouse function for custom widget : take custom height into account 2020-05-15 01:36:32 +02:00
altarfinch
7ba41d1d75 custom widget custom size support 2020-05-15 01:36:31 +02:00
Javi Agenjo
9fcc6c4975 Merge pull request #139 from sha-N/patch-4
fixes typedef for onDrawBackground and onDrawForeground
2020-05-11 12:54:01 +02:00
Shan M
c2f92e62aa fixes typedef for onDrawBackground and onDrawForeground
fixes the issue #131
2020-05-11 13:49:59 +03:00
Shan M
0a2f8a1d6d added type def for callback onNodeAdded 2020-05-11 13:44:52 +03:00
Javi Agenjo
240cee0209 Merge pull request #124 from sker65/master
Added hook for slot context menu
2020-05-06 10:02:00 +02:00
Shan M
626a69fec4 Error correction in type definition 2020-05-06 09:33:55 +03:00
Shan M
dbb4391099 Update for missing type definitions
Updated onConnectInput to match current function definition

Added missing definitions for

LGraphCanvas.onDrawLinkTooltip
LGraphCanvas.onNodeMoved
LGraphCanvas.onSelectionChange
LGraphCanvas.onNodeSelected
LGraphCanvas.onNodeDeselected
LGraphCanvas.onShowNodePanel
LGraphCanvas.onNodeDblClicked

LGraphNode.onConnectionsChange

Can close #127
2020-05-05 18:07:39 +03:00
Stefan Rinke
ac1d8f8f71 - added hook for slot context menu 2020-04-23 00:07:18 +02:00
Shan M
df5a042099 nodes attribute in selectNodes function is optional 2020-04-20 16:50:53 +03:00
Javi Agenjo
738004f460 Merge pull request #118 from sha-N/patch-4
Fixes type definition for renderInfo()
2020-04-15 10:48:59 +02:00
Javi Agenjo
a027c0eb87 Merge pull request #113 from sha-N/patch-1
fixes type error in function wrapFunctionAsNode
2020-04-15 10:48:42 +02:00
Shan M
6607593471 fix typo 2020-04-15 11:45:25 +03:00
Shan M
9b6ff21e00 Fixes type definition for renderInfo() 2020-04-15 11:41:43 +03:00
Shan M
03408f13df adds missing type unregisterNodeType 2020-04-06 12:06:36 +03:00
Shan M
6ef31c8c3a Adds missing type for showMenuNodeOptionalOutputs 2020-03-31 17:21:53 +03:00
Shan M
d86b463d5e fixes type error in function wrapFunctionAsNode 2020-03-28 10:59:57 +03:00
Julien MOREAU-MATHIS
cfe7cc1bdb Fixed DTS for registered_node_types, node_types_by_file_extension, and Nodes in LiteGraph to properly take LGraphNodeConstructor instead of LGraphNode. 2019-12-03 18:17:27 +01:00
NateScarlet
a7a1bd3aa5 feat: support typescript
add type definitions
2019-05-08 15:47:41 +08:00