Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "ui/core/view"

Index

Type aliases

dip

dip: number

Denotes a length number that is in device independent pixel units.

percent

percent: number

Denotes a normalized percent number. 0% is represented as 0 50% is represented as 0.5 100% is represented as 1

px

px: number

Denotes a length number that is in physical device pixels.

Variables

Const automationTextProperty

automationTextProperty: Property<View, string>

Const iosOverflowSafeAreaEnabledProperty

iosOverflowSafeAreaEnabledProperty: InheritedProperty<View, boolean>

Const iosOverflowSafeAreaProperty

iosOverflowSafeAreaProperty: Property<View, boolean>

Const isEnabledProperty

isEnabledProperty: Property<View, boolean>

Const isUserInteractionEnabledProperty

isUserInteractionEnabledProperty: Property<View, boolean>

Const originXProperty

originXProperty: Property<View, number>

Const originYProperty

originYProperty: Property<View, number>

Functions

CSSType

  • CSSType(type: string): ClassDecorator
  • Specifies the type name for the instances of this View class, that is used when matching CSS type selectors.

    Usage:

    @CSSType("Button")
    class Button extends View {
    }

    Internally the decorator set Button.prototype.cssType = "Button".

    Parameters

    • type: string

      The type name, e. g. "Button", "Label", etc.

    Returns ClassDecorator

PseudoClassHandler

  • PseudoClassHandler(...pseudoClasses: string[]): MethodDecorator

viewMatchesModuleContext

  • viewMatchesModuleContext(view: View, context: ModuleContext, type: ModuleType[]): boolean
  • Parameters

    • view: View

      The view

    • context: ModuleContext

      The ModuleType

    • type: ModuleType[]

      Type of the ModuleType to be matched

    Returns 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