Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RenderDeclareService

Hierarchy

  • Service
    • RenderDeclareService

Index

Constructors

Properties

Accessors

Methods

Constructors

Properties

id: string
NAME: string = 'service.render.declare'

Accessors

  • Returns RenderDeclareService

Methods

  • dispose(): void
  • 注销

    Returns void

  • emit(event: string, ...args: any[]): void
  • 事件发送

    Parameters

    • event: string

      事件名

    • Rest ...args: any[]

      参数

    Returns void

  • Parameters

    • type: string

    Returns undefined | Map<new () => RenderNode, new () => RenderEntity>

  • off(event: string, callback: Function): void
  • 关闭事件

    Parameters

    • event: string

      事件名

    • callback: Function

      回调

    Returns void

  • on(event: string, callback: Function): void
  • 开启事件

    Parameters

    • event: string

      事件名

    • callback: Function

      回调

    Returns void