UNPKG

@nativescript/core

Version:

A JavaScript library providing an easy to use api for interacting with iOS and Android platform APIs.

16 lines 662 B
// Shared property types, interfaces, and value helpers for properties and view-base modules. // Only put platform-agnostic logic here. /** * Value specifying that Property should be set to its initial value. */ export const unsetValue = new Object(); export function isCssUnsetValue(value) { return value === 'unset' || value === 'revert'; } export function isResetValue(value) { return value === unsetValue || value === 'initial' || value === 'inherit' || isCssUnsetValue(value); } export function isCssWideKeyword(value) { return value === 'initial' || value === 'inherit' || isCssUnsetValue(value); } //# sourceMappingURL=property-shared.js.map