Extension API Reference
Classes
Class | Description |
|---|---|
Document tree / Board management class | |
Document tree / Editor control class | |
Document tree / event class | |
Document tree / Folder class | |
Document tree / Panel management class | |
Document tree / PCB management class | |
Document tree / Project management class | |
Document tree / Schematic management class | |
Document tree / selection control class | |
Document tree / Team class | |
Document tree / Workspace class | |
EasyEDA Pro user API interface | |
Complex polygon | |
Single polygon | |
Arc line primitive | |
Property primitive | |
Device primitive | |
Device pad primitive | |
Dimension primitive | |
Fill primitive | |
Image primitive | |
Line primitive | |
Binary embedded object primitive | |
Pad primitive | |
Polyline primitive | |
Copper border primitive | |
Copper fill primitive | |
Region primitive | |
Text primitive | |
Via primitive | |
Arc primitive | |
Property primitive | |
Bus primitive | |
Reuse block symbol primitive | |
Circle primitive | |
Device primitive | |
Device pin primitive | |
Binary embedded object primitive | |
Pin primitive | |
Polygon (polyline) primitive | |
Rectangle primitive | |
Text primitive | |
Wire primitive | |
Comprehensive library / 3D model class | |
Comprehensive library / reuse block class | |
Comprehensive library / library classification index class | |
Comprehensive library / device class | |
Comprehensive library / footprint class | |
Comprehensive library / library list class | |
Comprehensive library / panel library class | |
Comprehensive library / selection control class | |
Comprehensive library / simulation model class | |
Comprehensive library / symbol class | |
PCB & footprint / document operation class | |
PCB & footprint / design rule check (DRC) class | |
PCB & footprint / event class | |
PCB & footprint / layer operation class | |
PCB & footprint / manufacture data class | |
PCB & footprint / polygon math class | |
PCB & footprint / net class | |
PCB & footprint / primitive class | |
PCB & footprint / arc line primitive class | |
PCB & footprint / property primitive class | |
PCB & footprint / device primitive class | |
PCB & footprint / dimension primitive class | |
PCB & footprint / fill primitive class | |
PCB & footprint / image primitive class | |
PCB & footprint / line primitive class | |
PCB & footprint / binary embedded object primitive class | |
PCB & footprint / pad primitive class | |
PCB & footprint / polyline primitive class | |
PCB & footprint / copper border primitive class | |
PCB & footprint / copper fill primitive class | |
PCB & footprint / forbidden region and constrained region primitive class | |
PCB & footprint / text primitive class | |
PCB & footprint / via primitive class | |
PCB & footprint / ray tracer engine class | |
PCB & footprint / selection control class | |
Panel / document operation class | |
Schematic & symbol / document operation class | |
Schematic & symbol / design rule check (DRC) class | |
Schematic & symbol / event class | |
Schematic & symbol / manufacture data class | |
Schematic & symbol / net class | |
Schematic & symbol / netlist class | |
Schematic & symbol / primitive class | |
Schematic & symbol / arc primitive class | |
Schematic & symbol / property primitive class | |
Schematic & symbol / bus primitive class | |
Schematic & symbol / circle primitive class | |
Schematic & symbol / device primitive class | |
Schematic & symbol / binary embedded object primitive class | |
Schematic & symbol / pin primitive class | |
Schematic & symbol / polygon (polyline) primitive class | |
Schematic & symbol / rectangle primitive class | |
Schematic & symbol / text primitive class | |
Schematic & symbol / wire primitive class | |
Schematic & symbol / selection control class | |
Schematic & symbol / simulation engine class | |
Schematic & symbol / utility class | |
System / external request class | |
System / dialog class | |
System / runtime environment class | |
System / file manager class | |
System / file system interaction class | |
System / font manager class | |
System / format conversion (Chameleon) class | |
System / header menu class | |
System / multilingual class | |
System / iframe window class | |
System / loading and progress bar class | |
System / log class | |
System / math class | |
System / message notification class | |
System / message box class | |
System / message bus class | |
System / panel control class | |
System / right-click menu class | |
System / settings class | |
System / shortcut key class | |
System / storage class | |
System / timer class | |
System / toast message class | |
System / tool class | |
System / unit class | |
System / WebSocket class | |
System / window class |
Enumerations
Enumeration | Description |
|---|---|
Editor document type | |
Editor split screen direction | |
Editor tab event type | |
Indicator marker type | |
Document tree project type | |
Project collaboration mode | |
EasyEDA SMT library category | |
Comprehensive library library type | |
Preview view type | |
Simulation model type | |
Symbol type | |
Auto routing corner style | |
How auto routing handles existing wires/vias | |
Auto routing optimization priority | |
Document ratline calculation function status | |
Inactive layer display mode | |
Layer color configuration | |
Layer ID | |
Layer status | |
Layer type | |
Mouse event type | |
Net event type | |
PCB plate type | |
PDF output method | |
Arc interaction mode | |
Dimension type | |
Primitive event type | |
Fill primitive fill mode | |
Pad heat welding connection method | |
Pad drilling type | |
Pad shape type | |
Pad type | |
Copper fill method | |
Region primitive region rule type | |
Text alignment mode | |
Primitive type | |
Via type | |
Dynamic simulation engine pull event type | |
Dynamic simulation engine push event type | |
Export document file type | |
Mouse event type | |
Device type | |
Primitive event type | |
Fill style | |
Line type | |
Pin shape | |
Pin type | |
Text alignment mode | |
Primitive type | |
Simulation netlist type | |
Spice simulation engine pull event type | |
Spice simulation engine push event type | |
Bottom panel tab | |
Header menu environment | |
Import project board outline source | |
Import project import option | |
Import project schematic primitive style | |
Import project via solder mask extension | |
Left panel tab | |
Log type | |
Netlist type | |
Right panel tab | |
快捷键生效页面范围 | |
Effective scene range of the shortcut key | |
Start page quick start item | |
Theme | |
Toast message type | |
Unit | |
Window event type | |
Open window context target | |
网络端口符号对应的器件名称 | |
悬浮框特殊符号对应的器件名称 |
Interfaces
Interface | Description |
|---|---|
分组面板:带标题的可折叠/分组容器 | |
边框配置 | |
按钮组件:可点击触发的操作按钮 | |
单元格点击信息 | |
单元格坐标(rowKey + colKey 定位一个单元格) | |
复选框组件:可勾选的状态控件 | |
勾选变更详情 | |
剪贴板单元格数据 | |
剪贴板配置 | |
颜色拾取组件:复用 Input color 类型,点击弹出内置固定色板,支持预览/应用/手输/清除/默认/关闭 | |
列定义 | |
编辑触发方式 | |
列分组:多级表头 | |
列宽拖拽配置 | |
Component name → Props type mapping, serving as the sole source of the | |
自定义表头配置(列可见性管理) | |
对话框组件:带标题栏、可拖拽缩放的组合弹窗 | |
拖拽排序配置 | |
编辑配置 | |
筛选配置 | |
固定列配置(也可通过 ColumnDef.fixed 逐列声明) | |
Flex 子项:Flex 布局中的单个子元素 | |
布局容器:灵活的 Flex 布局容器 | |
Grid 子项:网格中的单个子元素 | |
布局容器:固定列数的网格布局容器 | |
图标配置:通过 URL 或 CSS class 指定图标 | |
Component tree operation contract. | |
Board property | |
Brief project properties | |
Editor document object | |
Editor split screen property | |
Editor tab | |
Folder property | |
Indicator marker shape | |
Panel property | |
PCB property | |
Project property | |
Schematic property | |
Schematic sheet property | |
Team properties | |
Workspace properties | |
3D model property | |
Searched 3D model properties | |
Reuse block property | |
Searched reuse block properties | |
Classification index | |
Device associated symbol, footprint property | |
Device extension property | |
Device property | |
Device parameters that can be used for precise search | |
Searched device properties | |
External library 3D model functions | |
External library reuse block functions | |
External library classification index | |
External library device functions | |
External library footprint functions | |
External library functions | |
External library item | |
External library item index | |
External library search property | |
External library search result | |
External library search result data line | |
External library symbol functions | |
External library user index | |
Footprint property | |
Footprint parameters that can be used for precise search | |
Searched footprint properties | |
Library information | |
Library property | |
Panel library property | |
Searched panel library properties | |
Simulation model properties | |
Searched simulation model properties | |
Symbol property | |
Symbol parameters that can be used for precise search | |
Searched symbol properties | |
图片组件:展示单张图片 | |
输入框组件:支持下拉、搜索、清除、前后缀等多种形态 | |
Auto layout result | |
Auto routing props | |
Auto routing result | |
BOM column properties and sorting rules | |
Differential pair properties | |
Discretized point | |
Discretization options | |
Equal-length net group properties | |
Layer properties | |
Net class property | |
Net property | |
Pad pair group properties | |
Pad pair minimum wire length properties | |
PCB primitive | |
PCB primitive API | |
Pad thermal relief optimization parameters | |
Copper fill region | |
Solder mask / paste mask expansion | |
导出 PNG 分辨率 | |
Net property | |
Schematic primitive | |
Schematic primitive API | |
Project net property | |
Wire property | |
File system file path | |
Header menu item | |
Top-level secondary menu item | |
Top-level tertiary menu item | |
Top-level primary menu item | |
语言数据键值对 | |
Log line | |
BBox (minimum bounding rectangle) | |
Discrete points | |
Polygon with holes | |
Message bus task | |
Multilingual data | |
Right-click menu item | |
Window event listener can remove object | |
键盘导航配置 | |
列表项:支持多级嵌套分组 | |
列表组件:支持多级嵌套、图标、展开的列表 | |
模态弹窗:可拖拽、可调整大小的顶层弹窗 | |
单选组组件:一组互斥的单选选项 | |
单选组中的单个选项 | |
RichTable 组件属性 | |
行元数据配置,独立于业务数据(挂在 row.rowMeta 上) | |
滚动组件:虚拟滚动列表,仅渲染可见行 | |
选择配置 | |
下拉选项:支持多级嵌套分组 | |
下拉选项 | |
下拉选择器:基于输入框的下拉选择控件 | |
滑杆组件:基于浏览器原生 range 输入 | |
插槽组件:为父组件提供具名内容占位 | |
排序配置 | |
排序状态 | |
通用样式属性:可被布局容器等组件继承的样式集合 | |
多行文本输入组件 | |
文本组件:静态文本展示 | |
校验规则(声明式,纯数据,可序列化) | |
虚拟滚动配置 |
Variables
Variable | Description |
|---|---|
Type Aliases
Type Alias | Description |
|---|---|
对齐方式 | |
剪贴板单元格内容类型(决定粘贴时的解析策略) | |
列定义(支持普通列和列分组) | |
五种编辑器类型配置 | |
列数据类型,默认 'text'。决定默认排序类型(sortType)和筛选匹配模式(filterMatchMode) | |
数据变更类型 | |
筛选匹配模式 | |
行数据:业务数据 + 行元数据(rowMeta) | |
可序列化纯数据(可跨 BroadcastChannel 结构化克隆)。 编译期拒绝函数 / Date / React 元素等不可序列化值——slotProps 等跨广播字段必须用它。 | |
排序方向 | |
Selectable layers | |
Layers of the device | |
Layers of copper | |
Custom layers | |
Layers of the dimension | |
Layers of the fill | |
Layers of complex polygon figures (SVG images, text) | |
Inner layers | |
Layers of the line | |
Layers of binary embedded objects | |
Layers of the pad | |
Layers of the region | |
Layer types allowed to be set for inner layers | |
Single polygon source array | |
Dimension coordinate set | |
Pad drilling | |
Pad shape | |
Special pad shape | |
Polygon group | |
Polygon input type | |
Shortcut key |