mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 03:31:45 +08:00
Stabilizing layout tests
This commit is contained in:

committed by
Hristo Hristov

parent
1757eb7092
commit
c2cb4a8f61
10
utils/utils.d.ts
vendored
10
utils/utils.d.ts
vendored
@ -50,6 +50,16 @@
|
||||
* Gets display density for the current device.
|
||||
*/
|
||||
export function getDisplayDensity(): number;
|
||||
/**
|
||||
* Convert value to device pixels.
|
||||
* @param value - The pixel to convert.
|
||||
*/
|
||||
export function toDevicePixels(value: number): number;
|
||||
/**
|
||||
* Convert value to device independent pixels.
|
||||
* @param value - The pixel to convert.
|
||||
*/
|
||||
export function toDeviceIndependentPixels(value: number): number;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user