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
createView
-
createView(name: string): NgView
Private
cssClasses
-
cssClasses(view: NgView): Map<string, boolean>
-
Parameters
Returns Map<string, boolean>
Private
ensureNgViewExtensions
-
ensureNgViewExtensions(view: View): NgView
Private
findPreviousElement
getChildIndex
-
getChildIndex(parent: any, child: NgView): number
-
Parameters
Returns number
Private
getPreviousVisualElement
Private
getProperties
-
getProperties(instance: any): Map<string, string>
-
Parameters
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
removeChild
-
removeChild(parent: View, child: View): void
removeClass
-
removeClass(view: NgView, className: string): void
Private
removeFromVisualTree
Private
removeLayoutChild
Private
removeParentReferencesFromItems
-
removeParentReferencesFromItems(items: any[]): void
removeStyle
-
removeStyle(view: NgView, styleName: string): void
Private
runsIn
-
runsIn(platform: string): boolean
-
Parameters
Returns 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
-
-
attributeName:
string
-
value: any
-
Optional
namespace:
string
Returns void
Private
setPropertyInternal
-
setPropertyInternal(view: NgView, attributeName: string, value: any): void
-
Parameters
-
-
attributeName:
string
-
value: any
Returns void
setStyle
-
setStyle(view: NgView, styleName: string, value: any): void
-
Parameters
-
-
styleName:
string
-
value: any
Returns 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