Preparing search index...
The search index is not available
@tscircuit/builder
@tscircuit/builder
PowerSourceBuilder
Interface PowerSourceBuilder
Hierarchy
BaseComponentBuilder
<
PowerSourceBuilder
>
PowerSourceBuilder
Implemented by
PowerSourceBuilderClass
Index
Properties
builder_
type
footprint
ports
project_
builder
schematic_
symbol
set
Name
set
Tag
set
Tags
Methods
append
Child
build
label
Port
modify
Footprint
set
Footprint
set
Footprint
Center
set
Schematic
Center
set
Schematic
Properties
set
Schematic
Rotation
set
Source
Properties
Properties
builder_
type
builder_
type
:
"power_source_builder"
footprint
footprint
:
FootprintBuilder
ports
ports
:
PortsBuilder
project_
builder
project_
builder
:
ProjectBuilder
schematic_
symbol
schematic_
symbol
:
SchematicSymbolBuilder
set
Name
set
Name
:
(
(
name
:
string
)
=>
BaseComponentBuilder
<
PowerSourceBuilder
>
)
Type declaration
(
name
:
string
)
:
BaseComponentBuilder
<
PowerSourceBuilder
>
Parameters
name:
string
Returns
BaseComponentBuilder
<
PowerSourceBuilder
>
set
Tag
set
Tag
:
(
(
tag
:
string
)
=>
BaseComponentBuilder
<
PowerSourceBuilder
>
)
Type declaration
(
tag
:
string
)
:
BaseComponentBuilder
<
PowerSourceBuilder
>
Parameters
tag:
string
Returns
BaseComponentBuilder
<
PowerSourceBuilder
>
set
Tags
set
Tags
:
(
(
tags
:
string
[]
)
=>
BaseComponentBuilder
<
PowerSourceBuilder
>
)
Type declaration
(
tags
:
string
[]
)
:
BaseComponentBuilder
<
PowerSourceBuilder
>
Parameters
tags:
string
[]
Returns
BaseComponentBuilder
<
PowerSourceBuilder
>
Methods
append
Child
append
Child
(
child
:
{
builder_type
:
string
}
)
:
BaseComponentBuilder
<
PowerSourceBuilder
>
Parameters
child:
{
builder_type
:
string
}
builder_
type
:
string
Returns
BaseComponentBuilder
<
PowerSourceBuilder
>
build
build
(
build_context
:
BuildContext
)
:
Promise
<
AnyElement
[]
>
Parameters
build_context:
BuildContext
Returns
Promise
<
AnyElement
[]
>
label
Port
label
Port
(
position
:
number
, name
:
string
)
:
BaseComponentBuilder
<
PowerSourceBuilder
>
Parameters
position:
number
name:
string
Returns
BaseComponentBuilder
<
PowerSourceBuilder
>
modify
Footprint
modify
Footprint
(
cb
:
(
(
fb
:
FootprintBuilder
)
=>
any
)
)
:
BaseComponentBuilder
<
PowerSourceBuilder
>
Parameters
cb:
(
(
fb
:
FootprintBuilder
)
=>
any
)
(
fb
:
FootprintBuilder
)
:
any
Parameters
fb:
FootprintBuilder
Returns
any
Returns
BaseComponentBuilder
<
PowerSourceBuilder
>
set
Footprint
set
Footprint
(
fp
:
string
|
FootprintBuilder
)
:
BaseComponentBuilder
<
PowerSourceBuilder
>
Parameters
fp:
string
|
FootprintBuilder
Returns
BaseComponentBuilder
<
PowerSourceBuilder
>
set
Footprint
Center
set
Footprint
Center
(
x
:
string
|
number
, y
:
string
|
number
)
:
BaseComponentBuilder
<
PowerSourceBuilder
>
Parameters
x:
string
|
number
y:
string
|
number
Returns
BaseComponentBuilder
<
PowerSourceBuilder
>
set
Schematic
Center
set
Schematic
Center
(
x
:
string
|
number
, y
:
string
|
number
)
:
BaseComponentBuilder
<
PowerSourceBuilder
>
Parameters
x:
string
|
number
y:
string
|
number
Returns
BaseComponentBuilder
<
PowerSourceBuilder
>
set
Schematic
Properties
set
Schematic
Properties
(
properties
:
Partial
<
SchematicComponent
>
)
:
BaseComponentBuilder
<
PowerSourceBuilder
>
Parameters
properties:
Partial
<
SchematicComponent
>
Returns
BaseComponentBuilder
<
PowerSourceBuilder
>
set
Schematic
Rotation
set
Schematic
Rotation
(
rotation
:
number
|
`
${
number
}
deg
`
)
:
BaseComponentBuilder
<
PowerSourceBuilder
>
Parameters
rotation:
number
|
`
${
number
}
deg
`
Returns
BaseComponentBuilder
<
PowerSourceBuilder
>
set
Source
Properties
set
Source
Properties
(
properties
:
Except
<
SimplePowerSource
,
"ftype"
|
"type"
|
"name"
|
"source_component_id"
>
&
{
name
?:
string
}
)
:
PowerSourceBuilder
Parameters
properties:
Except
<
SimplePowerSource
,
"ftype"
|
"type"
|
"name"
|
"source_component_id"
>
&
{
name
?:
string
}
Returns
PowerSourceBuilder
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
@tscircuit/builder
Power
Source
Builder
builder_
type
footprint
ports
project_
builder
schematic_
symbol
set
Name
set
Tag
set
Tags
append
Child
build
label
Port
modify
Footprint
set
Footprint
set
Footprint
Center
set
Schematic
Center
set
Schematic
Properties
set
Schematic
Rotation
set
Source
Properties
Generated using
TypeDoc