Skip to content

Commit 3f2673b

Browse files
committed
Merge remote-tracking branch 'origin/develop'
2 parents 0de4d3e + a265c24 commit 3f2673b

File tree

4 files changed

+33
-49
lines changed

4 files changed

+33
-49
lines changed

.github/FUNDING.yml

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
# These are supported funding model platforms
22

33
patreon: cables_gl
4+
ko_fi: cablesgl

md/5_writing_ops/dev_creating_ports/dev_dynamic_ports/dev_dynamic_ports.md

-49
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# MultiPorts
2+
3+
Ports that can have a user defined number of sub ports.
4+
5+
`op.inMultiPort("Numbers", CABLES.OP_PORT_TYPE_NUMBER)`
6+
7+
8+
## Example
9+
10+
This op can have multiple connections ior manually set number of ports. The output will be the sum of all those number ports.
11+
12+
```javascript
13+
14+
const
15+
nums=op.inMultiPort("Numbers", CABLES.OP_PORT_TYPE_NUMBER),
16+
outSum=op.outNumber("Sum");
17+
18+
nums.onChange= () =>
19+
{
20+
let n=0;
21+
for(let i=0;i<nums.ports.length;i++)
22+
{
23+
n+=nums.ports[i].get();
24+
}
25+
26+
outSum.set(n);
27+
};
28+
29+
```
30+

md/faq/features/support/support.md

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ Helping us grow is the best way to help us - get the word out!
99
If you want to financially support us, currently your best option would be to spend some cash on the various levels on [Patreon](https://www.patreon.com/cables_gl).
1010
Don't forget to link your Patreon account in [your profile settings](https://cables.gl/settings) to get those sweet, sweet benefits.
1111

12+
If regular payments aren't your thing. You can send a one-time donation via our [Ko-Fi](https://ko-fi.com/cablesgl) account. Thank you!
13+
1214
We also have a very long list of stuff that WE want to do, but maybe you need something specific for your project
1315
or would like to hire us to develop project specific features. Simply [contact us](mailto:hi@undev.de)!
1416

0 commit comments

Comments
 (0)