Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "ui/core/view-base"

Index

Variables

bindingContextProperty

bindingContextProperty: InheritedProperty<ViewBase, any>

classNameProperty

classNameProperty: Property<ViewBase, string>

idProperty

idProperty: Property<ViewBase, string>

Functions

booleanConverter

  • booleanConverter(v: string): boolean

eachDescendant

  • eachDescendant(view: ViewBase, callback: function): any
  • Iterates through all child views (via visual tree) and executes a function.

    Parameters

    • view: ViewBase

      Starting view (parent container).

    • callback: function

      A function to execute on every child. If function returns false it breaks the iteration.

    Returns any

getAncestor

  • Gets an ancestor from a given type.

    Parameters

    • view: ViewBase

      Starting view (child view).

    • criterion: string | Function

      The type of ancestor view we are looking for. Could be a string containing a class name or an actual type. Returns an instance of a view (if found), otherwise undefined.

    Returns ViewBase

getViewById

  • Gets a child view by id.

    Parameters

    • view: ViewBase

      The parent (container) view of the view to look for.

    • id: string

      The id of the view to look for. Returns an instance of a view (if found), otherwise undefined.

    Returns ViewBase

isEventOrGesture

  • isEventOrGesture(name: string, view: ViewBase): boolean

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