Options
All
  • Public
  • Public/Protected
  • All
Menu

Class NativeScriptRenderer

Hierarchy

  • Renderer2

Index

Constructors

constructor

Properties

data

data: object

Type declaration

  • [key: string]: any

destroyNode

destroyNode: function | null

Private rootView

rootView: NgView

Private viewUtil

viewUtil: ViewUtil

Private zone

zone: NgZone

Methods

addClass

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

    Returns void

appendChild

  • Parameters

    Returns void

createComment

  • Parameters

    • _value: any

    Returns InvisibleNode

createElement

  • createElement(name: any, _namespace: string): NgView
  • Parameters

    • name: any
    • _namespace: string

    Returns NgView

createText

  • Parameters

    • _value: string

    Returns InvisibleNode

createViewRoot

  • Parameters

    Returns NgView

destroy

  • destroy(): void
  • Returns void

insertBefore

  • insertBefore(parent: NgView, newChild: NgView, __namedParameters: object): void
  • Parameters

    Returns void

invokeElementMethod

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

    • _renderElement: NgView
    • methodName: string
    • args: Array<any>

    Returns 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

  • Parameters

    Returns ElementReference

parentNode

  • parentNode(node: NgView): any
  • Parameters

    Returns any

projectNodes

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

    • parentElement: NgView
    • nodes: NgView[]

    Returns void

removeAttribute

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

    Returns void

removeChild

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

    • parent: any
    • oldChild: NgView

    Returns void

removeClass

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

    Returns void

removeStyle

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

    • view: NgView
    • styleName: string
    • Optional _flags: RendererStyleFlags2

    Returns void

selectRootElement

  • selectRootElement(selector: string): NgView
  • Parameters

    • selector: string

    Returns NgView

setAttribute

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

    • view: NgView
    • name: string
    • value: string
    • Optional namespace: string

    Returns void

setBindingDebugInfo

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

    • renderElement: NgView
    • propertyName: string
    • propertyValue: string

    Returns void

setElementDebugInfo

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

    • renderElement: any
    • _info: any

    Returns void

setProperty

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

    • view: any
    • name: string
    • value: any

    Returns void

setStyle

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

    • view: NgView
    • styleName: string
    • value: any
    • Optional _flags: RendererStyleFlags2

    Returns void

setValue

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

    • _renderNode: any
    • _value: string

    Returns 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