Options
All
  • Public
  • Public/Protected
  • All
Menu

Class NodeActivator

用于执行节点和组件的激活和停用操作的类。

Hierarchy

  • NodeActivator

Index

Constructors

constructor

  • Returns NodeActivator

Properties

Protected _activatingStack

_activatingStack: any[]

resetComp

resetComp: any

Methods

Protected activateNodeRecursively

  • activateNodeRecursively(node: any, preloadInvoker: any, onLoadInvoker: any, onEnableInvoker: any): void
  • Parameters

    • node: any
    • preloadInvoker: any
    • onLoadInvoker: any
    • onEnableInvoker: any

    Returns void

Protected deactivateNodeRecursively

  • deactivateNodeRecursively(node: any): void
  • Parameters

    • node: any

    Returns void

activateComp

  • activateComp(comp: any, preloadInvoker?: any, onLoadInvoker?: any, onEnableInvoker?: any): void
  • Parameters

    • comp: any
    • Optional preloadInvoker: any
    • Optional onLoadInvoker: any
    • Optional onEnableInvoker: any

    Returns void

activateNode

  • activateNode(node: any, active: any): void
  • Parameters

    • node: any
    • active: any

    Returns void

destroyComp

  • destroyComp(comp: any): void
  • Parameters

    • comp: any

    Returns void

reset

  • reset(): void
  • Returns void

Generated using TypeDoc