FZPConnector
FZPConnector class
Example:
const {FZPConnector} = require('fzp-js')
let connector = new FZPConnector({id: 'sample-id', name: 'sample-name'})
connector.type = 'sample-type'
connector.description = 'sample-description'
connector.views.breadboard.setLayer('sample-b-layer')
connector.views.breadboard.setSvgId('sample-b-svg')
connector.views.breadboard.setLegId('sample-b-leg')
connector.views.breadboard.setTerminalId('sample-b-terminal')
Constructor Summary
Public Constructor | ||
public |
constructor(opt: Object) FZPConnector constructor |
Member Summary
Public Members | ||
public |
The description of the FZP connector |
|
public |
The id of the FZP connector. |
|
public |
The name of the FZP connector. |
|
public |
The type of the FZP connector |
|
public |
views: {"breadboard": *, "schematic": *, "pcb": *} The FZP connector views for breadboard, schematic and pcb. |
Public Constructors
Public Members
public views: {"breadboard": *, "schematic": *, "pcb": *} source
The FZP connector views for breadboard, schematic and pcb. Note that the pcb view has an object for copper0, copper1 etc.