Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ViewUtil

Hierarchy

  • ViewUtil

Index

Constructors

constructor

  • new ViewUtil(device: Device): ViewUtil
  • Parameters

    • device: Device

    Returns ViewUtil

Properties

Private isAndroid

isAndroid: boolean

Private isIos

isIos: boolean

Methods

addClass

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

    • view: NgView
    • className: string

    Returns void

Private addToQueue

Private addToVisualTree

  • Parameters

    Returns void

Private appendToQueue

  • Parameters

    Returns void

createComment

createText

createView

  • createView(name: string): NgView
  • Parameters

    • name: string

    Returns NgView

Private cssClasses

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

    Returns Map<string, boolean>

Private ensureNgViewExtensions

  • ensureNgViewExtensions(view: View): NgView
  • Parameters

    • view: View

    Returns NgView

Private findNextVisual

  • Parameters

    Returns NgView

Private findPreviousElement

getChildIndex

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

    Returns 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
  • Parameters

    • parent: View
    • child: View
    • Optional previous: NgView
    • Optional next: NgView

    Returns void

Private insertToLayout

removeChild

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

    • parent: View
    • child: View

    Returns void

removeClass

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

    • view: NgView
    • className: string

    Returns void

Private removeFromQueue

  • Parameters

    Returns void

Private removeFromVisualTree

  • Parameters

    Returns void

Private removeLayoutChild

removeStyle

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

    • view: NgView
    • styleName: string

    Returns void

Private runsIn

  • runsIn(platform: string): boolean
  • Parameters

    • platform: string

    Returns boolean

Private setClasses

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

    • view: NgView
    • classesValue: string

    Returns void

Private setNgViewExtensions

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

    • view: View
    • name: string

    Returns 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
  • Parameters

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

    Returns void

setStyle

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

    • view: NgView
    • styleName: string
    • value: any

    Returns void

Private syncClasses

  • syncClasses(view: NgView): void
  • Parameters

    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