/tg/ Station 13 - Modules - TypesVar Details

circuit_component_add_port

Helper component that handles users adding/removing ports from a circuit component.

Vars

add_actionThe action to add a port on
is_outputWhether we are adding output ports or not
maximum_amountThe maximum amount of ports allowed
minimum_amountThe minimum amount of ports required
orderThe order of the new ports
port_listThe list to add the ports to when created
port_typeThe type of port
prefixThe prefix of the new ports
remove_actionThe action to remove a port on

Var Details

add_action

The action to add a port on

is_output

Whether we are adding output ports or not

maximum_amount

The maximum amount of ports allowed

minimum_amount

The minimum amount of ports required

order

The order of the new ports

port_list

The list to add the ports to when created

port_type

The type of port

prefix

The prefix of the new ports

remove_action

The action to remove a port on