Interface DisplayCaps

Hierarchy

Index

Properties

Methods

Properties

public bubbleParent: boolean

public density: string

public dpi: number

public logicalDensityFactor: number

public platformHeight: number

public platformWidth: number

public xdpi: number

public ydpi: number

Methods

public addEventListener(name: string, callback: (...args: any[]) => any)

Parameters

  • name: string
  • callback: (...args: any[]) => any

public applyProperties(props: Dictionary)

Parameters

public fireEvent(name: string, event: Dictionary)

Parameters

public getBubbleParent(): boolean

Returns

boolean

public getDensity(): string

Returns

string

public getDpi(): number

Returns

number

public getLogicalDensityFactor(): number

Returns

number

public getPlatformHeight(): number

Returns

number

public getPlatformWidth(): number

Returns

number

public getXdpi(): number

Returns

number

public getYdpi(): number

Returns

number

public removeEventListener(name: string, callback: (...args: any[]) => any)

Parameters

  • name: string
  • callback: (...args: any[]) => any

public setBubbleParent(bubbleParent: boolean)

Parameters

  • bubbleParent: boolean

public setDensity(density: string)

Parameters

  • density: string

public setDpi(dpi: number)

Parameters

  • dpi: number

public setLogicalDensityFactor(logicalDensityFactor: number)

Parameters

  • logicalDensityFactor: number

public setPlatformHeight(platformHeight: number)

Parameters

  • platformHeight: number

public setPlatformWidth(platformWidth: number)

Parameters

  • platformWidth: number

public setXdpi(xdpi: number)

Parameters

  • xdpi: number

public setYdpi(ydpi: number)

Parameters

  • ydpi: number