Abstract
Optional
options: IWorkspaceInitConfig当前选中的文件
当前路由
当前选中的视图文件
组件配置
组件入口模块
拖拽源
入口文件
工作区的文件列表
历史记录
应用入口模块
移除事件
Removes the event listener in target's event listener list with the same type, callback, and options.
Optional
options: boolean | EventListenerOptions绑定事件
Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched.
The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture.
When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET.
When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners.
When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed.
If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted.
The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
Optional
options: boolean | AddEventListenerOptionspackage.json 文件
路由配置模块
选中源
tango.config.json 文件
当前激活的视图模块
获取页面列表
项目配置,返回解析后的 tango.config.json 文件
添加业务组件
Optional
options: { Optional
package?: ITangoConfigPackagesAppends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched.
The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture.
When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET.
When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners.
When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed.
If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted.
The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
Optional
options: boolean | AddEventListenerOptionsAbstract
addOptional
fileType: FileType添加一组文件到工作区,如果文件同名,后面的文件会覆盖前面的文件
添加新的路由
复制视图文件
根据文件名获取文件对象
Optional
filename: string在目标节点中插入子节点
目标节点dnd-id
插入的组件名称
在选中节点中插入子节点
节点名
替换目标节点
更新依赖,没有就添加
FIXME: 参数3的设置需要重新考虑下
Optional
options: { Optional
package?: ITangoConfigPackages更新页面路由配置
Workspace 抽象基类