Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ViewUtil

Hierarchy

  • ViewUtil

Index

Constructors

constructor

  • new ViewUtil(device: typeof Device): ViewUtil

Properties

Private isAndroid

isAndroid: boolean

Private isIos

isIos: boolean

Methods

addClass

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

Private addToQueue

Private addToVisualTree

Private appendToQueue

createComment

createText

createView

  • createView(name: string): NgView

Private cssClasses

  • cssClasses(view: NgView): Map<string, boolean>

Private ensureNgViewExtensions

  • ensureNgViewExtensions(view: View): NgView

Private findNextVisual

Private findPreviousElement

getChildIndex

  • getChildIndex(parent: any, child: NgView): number

Private getPreviousVisualElement

Private getProperties

  • getProperties(instance: any): Map<string, string>
  • Parameters

    • instance: any

    Returns Map<string, string>

insertChild

  • insertChild(parent: View, child: View, previous?: NgView, next?: NgView): void

Private insertToLayout

removeChild

  • removeChild(parent: View, child: View): void

removeClass

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

Private removeFromQueue

Private removeFromVisualTree

Private removeLayoutChild

Private removeParentReferencesFromItems

  • removeParentReferencesFromItems(items: any[]): void

removeStyle

  • removeStyle(view: NgView, styleName: string): void

Private runsIn

  • runsIn(platform: string): boolean

Private setClasses

  • setClasses(view: NgView, classesValue: string): void

Private setNgViewExtensions

  • setNgViewExtensions(view: View, name: string): NgView

setProperty

  • setProperty(view: NgView, attributeName: string, value: any, namespace?: string): void
  • Parameters

    • view: NgView
    • attributeName: string
    • value: any
    • Optional namespace: string

    Returns void

Private setPropertyInternal

  • setPropertyInternal(view: NgView, attributeName: string, value: any): void

setStyle

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

Private syncClasses

  • syncClasses(view: NgView): 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