Options
All
  • Public
  • Public/Protected
  • All
Menu

Class EmulatedRenderer

Hierarchy

Index

Constructors

constructor

Properties

Private contentAttr

contentAttr: string

data

data: object

Type declaration

  • [key: string]: any

destroyNode

destroyNode: function | null

If null or undefined, the view engine won't call it. This is used as a performance optimization for production mode.

Private hostAttr

hostAttr: string

Methods

addClass

  • addClass(view: NgView, name: string): void

Private addStyles

  • addStyles(styles: (string | any[])[], componentId: string): void

appendChild

  • appendChild(parent: any, newChild: NgView): void

applyToHost

  • applyToHost(view: NgView): void

createComment

createElement

  • createElement(parent: any, name: string): NgView

createText

createViewRoot

destroy

  • destroy(): void

insertBefore

invokeElementMethod

  • invokeElementMethod(_renderElement: NgView, methodName: string, args: Array<any>): void

listen

  • listen(renderElement: any, eventName: string, callback: function): function
  • Parameters

    • renderElement: any
    • eventName: string
    • callback: function
        • (event: any): boolean
        • Parameters

          • event: any

          Returns boolean

    Returns function

      • (): void
      • Returns void

nextSibling

parentNode

  • parentNode(node: NgView): any

projectNodes

  • projectNodes(parentElement: NgView, nodes: NgView[]): void

removeAttribute

  • removeAttribute(_el: NgView, _name: string): void

removeChild

  • removeChild(parent: any, oldChild: NgView): void

removeClass

  • removeClass(view: NgView, name: string): void

removeStyle

  • removeStyle(view: NgView, styleName: string, _flags?: RendererStyleFlags2): void

selectRootElement

  • selectRootElement(selector: string): NgView

setAttribute

  • setAttribute(view: NgView, name: string, value: string, namespace?: string): void

setBindingDebugInfo

  • setBindingDebugInfo(renderElement: NgView, propertyName: string, propertyValue: string): void

setElementDebugInfo

  • setElementDebugInfo(renderElement: any, _info: any): void

setProperty

  • setProperty(view: any, name: string, value: any): void

setStyle

  • setStyle(view: NgView, styleName: string, value: any, _flags?: RendererStyleFlags2): void

setValue

  • setValue(_renderNode: any, _value: string): void

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method