Constructors

Properties

_activeSidebarPanel: string = ''

当前选中的侧边栏面板

_activeView: DesignerViewType = 'design'

当前激活的视图

_addComponentPopoverPosition: {
    clientX: number;
    clientY: number;
} = ...

添加组件面板的位置

_contextMenuPosition: {
    clientX: number;
    clientY: number;
} = ...

右键菜单在 iframe 上的位置

_isPreview: boolean = false

是否预览模式

_menuData?: MenuDataType = null

菜单列表

_showAddComponentPopover: boolean = false

是否显示添加组件面板

_showContextMenu: boolean = false

是否显示右键菜单

_showRightPanel: boolean = true

是否显示右侧面板

_showSmartWizard: boolean = false

是否显示智能引导

_simulator: ISimulatorType = ISimulatorTypes.desktop

当前的沙箱模拟器类型

_viewport: IViewportBounding = ...

当前的视图尺寸

Accessors

  • get addComponentPopoverPosition(): {
        clientX: number;
        clientY: number;
    }
  • Returns {
        clientX: number;
        clientY: number;
    }

    • clientX: number
    • clientY: number
  • get contextMenuPosition(): {
        clientX: number;
        clientY: number;
    }
  • Returns {
        clientX: number;
        clientY: number;
    }

    • clientX: number
    • clientY: number

Methods

  • 显示添加组件面板

    Parameters

    • value: boolean

      是否显示

    • position: {
          clientX: number;
          clientY: number;
      } = ...

      坐标

      • clientX: number
      • clientY: number

    Returns void

  • Parameters

    • value: boolean
    • position: {
          clientX: number;
          clientY: number;
      } = ...
      • clientX: number
      • clientY: number

    Returns void